Determines whether the compiler allows certain behaviors.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | -allow keyword |
Windows: | /allow:keyword |
keyword | Specifies the behaviors to allow or disallow. Possible values are: | |
Determines how the fpp preprocessor treats Fortran end-of-line comments in preprocessor directive lines. |
The compiler recognizes Fortran-style end-of-line comments in preprocessor lines. |
This option determines whether the compiler allows certain behaviors.
Option | Description |
---|---|
Tells the compiler to disallow Fortran-style end-of-line comments on preprocessor lines. Comment indicators have no special meaning. |
None
Consider the following:
#define MAX_ELEMENTS 100 ! Maximum number of elements
By default, the compiler recognizes Fortran-style end-of-line comments on preprocessor lines. Therefore, the line above defines MAX_ELEMENTS to be "100" and the rest of the line is ignored. If allow nofpp_comments is specified, Fortran comment conventions are not used and the comment indicator "!" has no special meaning. So, in the above example, "! Maximum number of elements" is interpreted as part of the value for the MAX_ELEMENTS definition.
Option allow nofpp_comments can be useful when you want to have a Fortran directive as a define value; for example:
#define dline(routname) !dec$ attributes alias:"__routname":: routname