Determines whether warning messages are disabled or enabled.
Windows: C/C++ > General > Warning Level
Linux: General > Warning Level
Mac OS: General > Warning Level
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
| Linux and Mac OS: | -wn |
| Windows: | /Wn |
None
| n=2 | Displays remarks, warnings, and errors. |
This option determines whether warning messages are disabled or enabled.
| n=0 | Displays errors. |
| n=1 | Displays warnings and errors. |
| n=2 | Displays remarks, warnings, and errors. DEFAULT. |
| n=3 | Displays remarks, warnings, and errors. |
| n=4 | Displays remarks, warnings, and errors. |
None