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

!MS$

wen
초급자
765 조회수

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 포인트
2 응답
Steven_L_Intel1
765 조회수
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 포인트
wen
초급자
765 조회수
Thank you.
Wen

0 포인트
응답