User and Reference Guide for the Intel® C++ Compiler 14.0
Changes a soft diagnostic to an error. This is a deprecated option. The replacement option is [Q]diag-error.
Linux OS and OS X: | -weLn[,Ln,...] |
Windows OS: | /QweLn[,Ln,...] |
Ln |
Is the number of the diagnostic to be changed. |
OFF |
The compiler returns soft diagnostics as usual. |
This option overrides the severity of the soft diagnostic that corresponds to the specified number and changes it to an error.
Soft diagnostics are diagnostic messages that don't prevent the production of an object file; for example, warnings and remarks.
If you specify more than one Ln, each Ln must be separated by a comma.
To see the suggested replacement for this option, see Deprecated and Removed Compiler Options.
Linux and OS X: -diag-error
Windows: /Qdiag-error