Visible to Intel only — GUID: GUID-76E2B73F-CE29-49E3-B8C7-1958B8930D2A
Visible to Intel only — GUID: GUID-76E2B73F-CE29-49E3-B8C7-1958B8930D2A
w, W
Specifies the level of diagnostic messages to be generated by the compiler.
Syntax
Linux: |
-wn |
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, /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
Eclipse: General > Warning Level
Alternate Options
None