Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
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 - this includes compiler directives recognized by ifort.
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: /4Ys  |  
     
stand f95  |  
      Linux: -std95 Windows: None  |  
     
stand f03  |  
      Linux: -std03 Windows: None  |  
     
stand f08  |  
      Linux: -std08 Windows: None  |  
     
stand f18  |  
      Linux: -std18, -stand, -std Windows: /stand  |  
     
stand f23  |  
      Linux: -std23 Windows: None  |