Visible to Intel only — GUID: GUID-83CDC32A-14AD-49D0-B630-4424E6D546AF
Visible to Intel only — GUID: GUID-83CDC32A-14AD-49D0-B630-4424E6D546AF
stand
Tells the compiler to issue compile-time messages for nonstandard language elements.
Syntax
Linux: |
-stand [keyword] -nostand |
Windows: |
/stand[:keyword] /nostand |
Arguments
keyword |
Specifies the language to use as the standard. Possible values are:
|
Default
nostand |
The compiler issues no messages for nonstandard language elements. |
Description
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. |
stand f23 |
Tells the compiler to issue messages for language elements that are not standard in Fortran 2023. |
When you specify this option, things that are not supported in the Fortran standard at the specified standard level are diagnosed with warnings.
These standard compliance warnings can be ignored as they are informational only and do not affect compilation.
IDE Equivalent
Visual Studio: Diagnostics > Warn For Nonstandard Fortran
Alternate Options
stand none |
Linux: -nostand Windows: /nostand, /4Ns |
stand f90 |
Linux: -std90 Windows: /stand:f90, /4Ys |
stand f95 |
Linux: -std95 Windows: /stand:f95 |
stand f03 |
Linux: -stand f2003, -std03 Windows: /stand:f03, /stand:f2003 |
stand f08 |
Linux: -stand f2008, -std08 Windows: /stand:f08, /stand:f2008 |
stand f18 |
Linux: -stand f2018, -std18, -stand, -std Windows: /stand, /stand:f18, /stand:f2018 |
stand f23 |
Linux: -stand f2023, -std23 Windows: /stand:f23, /stand:f2023 |