Tells the compiler to issue compile-time messages for nonstandard language elements.
Linux: | -stand [keyword] -nostand |
macOS: | -stand [keyword] -nostand |
Windows: | /stand[:keyword] /nostand |
keyword |
Specifies the language to use as the standard. Possible values are:
|
nostand |
The compiler issues no messages for nonstandard language elements. |
This option tells the compiler to issue compile-time messages for nonstandard language elements.
If you do not specify a keyword for stand, it is the same as specifying stand f18.
Option |
Description |
---|---|
stand none |
Tells the compiler to issue no messages for nonstandard language elements. This is the same as specifying nostand. |
stand f90 |
Tells the compiler to issue messages for language elements that are not standard in Fortran 90. |
stand f95 |
Tells the compiler to issue messages for language elements that are not standard in Fortran 95. |
stand f03 |
Tells the compiler to issue messages for language elements that are not standard in Fortran 2003. |
stand f08 |
Tells the compiler to issue messages for language elements that are not standard in Fortran 2008. |
stand f18 |
Tells the compiler to issue messages for language elements that are not standard in Fortran 2018. This option is set if you specify warn stderrors. |
When you specify this option, things that are not provided for in the Fortran standard at the specified standard level are diagnosed with warnings - this includes compiler directives recognized by ifort.
These standard compliance warnings can be ignored as they are informational only and do not affect compilation.
Visual Studio: Diagnostics > Warn For Nonstandard Fortran
stand none |
Linux and macOS*: -nostand Windows: /nostand, /4Ns |
stand f90 |
Linux and macOS*: -std90 Windows: /4Ys |
stand f95 |
Linux and macOS*: -std95 Windows: None |
stand f03 |
Linux and macOS*: -std03 Windows: None |
stand f08 |
Linux and macOS*: -std08 Windows: /stand |
stand f18 |
Linux and macOS*: -std18, -stand, -std Windows: none |