- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using IVF 9.1 on IA-32 Windows XP.
When I started Visual Studio 2005 and clicked on Help Intel Fortran Compiler Help and typed in the keyword !MS$, the section Syntax Rules for Compiler Directives appeared. Under the sentence
The following prefix forms can be used in place of cDEC$ cDIR$ or !MS$.
I could not find any following prefix forms.
I compiled a routine, which was borrowed from some other place. There are many
!MS$ATTRIBUTES REFERENCE :: . . .
and
!MS$ATTRIBUTES STDCALL :: . . .
statements. IFORT gave me warnings : This directive is not standard F95.
Should I have !MS$ replaced by !DEC$?
Wen
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't need to change the directive prefix, though !DEC$ (with a space after the $) is the preferred syntax. You'll get the warning anyway because you asked for F95 standards checking and directives are statement extensions.
The prefixes allowed are !DEC$, !MS$ and !DIR$. In fixed-form source, the ! can be replaced with C or *.
The prefixes allowed are !DEC$, !MS$ and !DIR$. In fixed-form source, the ! can be replaced with C or *.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
Wen
Wen

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