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