User and Reference Guide for the Intel® C++ Compiler 14.0
Changes all warnings to errors.
Linux OS and OS X: | -Werror |
Windows OS: | /WX |
None
OFF |
The compiler returns diagnostics as usual. |
This option 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
Linux and OS X: -diag-error warn
Windows: /Qdiag-error:warn