- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
링크가 복사됨
2 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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 *.