Visible to Intel only — GUID: GUID-76E2B73F-CE29-49E3-B8C7-1958B8930D2A
Visible to Intel only — GUID: GUID-76E2B73F-CE29-49E3-B8C7-1958B8930D2A
W
Specifies the level of diagnostic messages to be generated by the compiler.
Syntax
Linux: |
None |
Windows: |
/Wn |
Arguments
n |
Is the level of diagnostic messages to be generated. Possible values are:
|
Default
n=1 |
The compiler displays diagnostics for warnings and errors. |
Description
This option specifies the level of diagnostic messages to be generated by the compiler.
On Windows systems, option /W4 is equivalent to option /Wall.
The /Wn, and Wall options can override each other. The last option specified on the command line takes precedence.
IDE Equivalent
Visual Studio: General > Warning Level
Alternate Options
None