Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public
Document Table of Contents

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:

none

Issues no messages for nonstandard language elements.

f90

Issues messages for language elements that are not standard in Fortran 90.

f95

Issues messages for language elements that are not standard in Fortran 95.

f03 or f2003

Issues messages for language elements that are not standard in Fortran 2003.

f08 or f2008

Issues messages for language elements that are not standard in Fortran 2008.

f18 or f2018

Issues messages for language elements that are not standard in Fortran 2018.

f23 or f2023

Issues messages for language elements that are not standard in Fortran 2023.

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.

NOTE:

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: /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

See Also