Intel® C++ Compiler XE 13.1 User and Reference Guides
Changes all warnings to errors.
Windows: General > Treat Warnings As Errors
Linux: Compilation Diagnostics > Treat Warnings As Errors
OS X: Diagnostics > Treat Warnings As Errors
All
Linux and OS X: | -Werror |
Windows: | /WX |
None
OFF |
The compiler returns diagnostics as usual. |
This option changes all warnings to errors.
Linux and OS X: -diag-error warn
Windows: /Qdiag-error:warn