Developer Guide and Reference

Contents

Werror, WX

Changes all warnings to errors.

Syntax

Linux:
-Werror
Windows:
/WX
Arguments
None
Default
OFF
The compiler returns diagnostics as usual.
Description
This option changes all warnings to errors.
IDE Equivalent
Visual Studio:
General > Treat Warnings As Errors
Eclipse:
Compilation Diagnostics > Treat Warnings As Errors
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.