Technical Support
On-Line Manuals
Compiler Reference Guide
--diag_error=tag[,tag,...]
tag
This option sets diagnostic messages that have a specific tag to error severity.
This option has the #pragma equivalent #pragma diag_error.
#pragma
#pragma diag_error
Where tag can be:
a diagnostic message number to set to error severity
warning, to treat all warnings as errors.
warning
The severity of the following types of diagnostic messages can be changed:
Messages with the number format #nnnn-D.
#nnnn-D
nnnn
Warning messages with the number format CnnnnW.
CnnnnW
--diag_remark=tag[,tag,... ]
--diag_suppress=tag[,tag,...]
--diag_warning=tag[,tag,...]
#pragma diag_error tag[,tag,...]
Options that change the severity of compiler diagnostic messages in Using the Compiler.