Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29274 Discussions

Calling a C routine from FORTRAN-Links but

camille_dannunzio
396 Views
Thank you. I made the changes you suggested and it links without errors but in the compile it gives the following syntex errors (in fact when I inserted your piece of code the !DEC lines are in green indicating that they are comment lines. Is this supposed to be?
Camille
C:Exchangeadveds4_15_04graphicsFortranadved_ns-sliceDISPLAY.f
C:Exchangeadveds4_15_04graphicsFortranadved_ns-sliceDISPLAY.f(9) : Info: Syntax error, found IDENTIFIER 'WRITETIFF' when expecting one of:
!DEC$ATTRIBUTES REFERENCE: WriteTiff
--------------------------------------^
C:Exchangeadveds4_15_04graphicsFortranadved_ns-sliceDISPLAY.f(10) : Info: Syntax error, found IDENTIFIER 'FILENAME' when expecting one of:
!DEC$ATTRIBUTES REFERENCE: filename
--------------------------------------^
C:Exchangeadveds4_15_04graphicsFortranadved_ns-sliceDISPLAY.f(11) : Info: Syntax error, found IDENTIFIER 'DESCRIPTION' when expecting one of:
!DEC$ATTRIBUTES REFERENCE: description
0 Kudos
2 Replies
fobermaier
Beginner
396 Views
try !DEC$ ATTRIBUTES REFERENCE
0 Kudos
fobermaier
Beginner
396 Views
try !DEC$ ATTRIBUTES REFERENCE ::
0 Kudos
Reply