- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following directive in the beginning of my code (partially shown below)
!DEC$OBJCOMMENT LIB:'INLATHENA.LIB'
!
Options /EXTEND_SOURCE
Program MAIN
!
!:Variable Declarations Section
!
Implicit None
causes the Intel compiler v16.0 Update 1 (pack 146) to issue the following error:
ALG01.FOR(3): remark #5082: Directive ignored - Syntax error, found HEX_OCT_BIN_CONSTANT 'BINLATHENA.LIB' when expecting one of: <CHARACTER_CONSTANT>
!DEC$OBJCOMMENT LIB:'INLATHENA.LIB'
--------------------^
There was no problem with the Compiler version 11.1. Does this mean that I can no longer use the above directive or is there a workaround?
Michael
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put a space after !DEC$. We fixed a bug in support of continued directives, which means that the blank after the prefix is not optional in fixed-form source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much Steve
I truly appreciate your help. Your suggestion worked perfectly.
Merry Christmas and Happy New Year
Michael

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page