Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
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