Lahey/Fujitsu Fortran

-[N]SWM msgno

Suppress Warning Message(s)

Compile only. Default: -nswm

To suppress a particular error message, specify its number after -swm.

Example

-swm 16,32

This example would suppress warning messages 16 and 32. To suppress all warnings, use -nw.

Visual Studio Property

The -swm option corresponds to the Fortran|Compiler Output|Suppress Warnings property. This property can be set on the property page for the project or source file.

See Also

Setting Build Options