Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

!MS$

wen
Beginner
676 Views

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

0 Kudos
2 Replies
Steven_L_Intel1
Employee
676 Views
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 *.
0 Kudos
wen
Beginner
676 Views
Thank you.
Wen

0 Kudos
Reply