We have just switched from Compaq to Intel fortran compiler and then we have a problem with !DEC$ Attributes.
The code looks like this: (first 2 lines that give problems)
INTEGER FUNCTION ISPLNK(COMMAND,VARNAME,VARIAB,VARTYPE,VARLEN)
!DEC$ ATTRIBUTES C, varying :: ISPLNK
When I compile I get the following error message:
error #7310: The DEC$ ATTRIBUTES VARYING specifier can be used in an interface block for an explicit interface for a C/C++ routine or for a variable declared EXTERNAL that represents a C/C++ routine. [ISPLNK]
compilation aborted for C:\Data\chwo\Ongoing\Ångturbin\Martin\Isplnk.f90 (code 1)
I tested this code in version 11.1.065 and it did compile without any problem.
What has happened in version 12.04.196 (and above)?