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.
Linux: |
-wn |
macOS: |
-wn |
Windows: |
/Wn |
n |
Is the level of diagnostic messages to be generated. Possible values are:
|
n=1 |
The compiler displays diagnostics for warnings and errors. |
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.
Visual Studio: General > Warning Level
Eclipse: General > Warning Level
Xcode: General > Warning Level
None