Diagnostics and Messages

See Diagnostics and Messages section for more information.

Runtime Diagnostics (IA-32 Compiler only)

Option

Description

Default

-C

Equivalent to: (-CA, -CB, -CS, -CU, -CV) extensive runtime diagnostics options.

OFF

-CA

Use in conjunction with -d{n}. Checks for nil pointers/allocatable array references at runtime.

OFF

-CB
 

Use in conjunction with -d{n}. Generates runtime code to check that array subscript and substring references are within declared bounds.

OFF

-CS
 

Use in conjunction with -d{n}. Generates runtime code that checks for consistent shape of intrinsic procedure.

OFF

-CU
 

Use in conjunction with -d{n}. Generates runtime code that causes a runtime error if variables are used without being initialized.

OFF

-CV
 

Use in conjunction with -d{n}. On entry to a subprogram, tests the correspondence between the actual arguments passed and the dummy arguments expected. Both calling and called code must be compiled with -CV for the checks to be effective.

OFF

-d{n}

Set the level of diagnostic messages, n=0, 1, 2, >2

-d0

Compiler Information Messages

Option

Description

Default

-nologo
 

Disables the display of the compiler version (or sign-on) message: compiler ID, version, copyright years.

OFF

-help
 

You can print a list and brief description of the most useful compiler driver options by specifying the -help option on the command line.

OFF

-V

Displays compiler version information.

OFF

-v

Shows driver tool commands and executes tools.

OFF

-dryrun

Shows driver tool commands, but does not execute tools.

OFF

Comment and Warning Messages

Option

Description

Default

-cm

Suppresses all comment messages.

OFF

-cerrs[-]

Enables/disables (default) a terse format for diagnostic messages, for example: "file", line no : error message

-cerrs

-w

Suppresses all warning messages.

OFF

-w90, -w95

Suppresses warning messages about  Fortran features which are deprecated or obsoleted in Fortran 95.

OFF

-W{n}

Suppresses or displays all warning messages generated by preprocessing and compilation.
n
=0: suppresses all warnings
n
=1: displays all warnings (default).

-W1

-WB
 

On a bound check violation, issues a warning instead of an error (accommodates old FORTRAN code, in which array bounds of dummy arguments were frequently declared as 1.)

OFF

Error Messages

Option

Description

Default

-e90, -e95

Enable issuing of errors rather than warnings for features that are non-standard Fortran.

OFF

-q
 

Suppresses compiler output to standard error, _stderr. When -q is specified with -bd, then only fatal error messages are output to _stderr.

OFF