You copied the Doc URL to your clipboard.

#pragma diag_error tag[,tag,...]

This pragma sets the diagnostic messages that have the specified tags to Error severity.

Diagnostic messages are messages whose message numbers are postfixed by -D, for example, #550-D.


#pragma diag_error tag[,tag,...]



is a comma-separated list of diagnostic message numbers specifying the messages whose severities are to be changed. This is the four-digit number, nnnn, with the tool letter prefix, but without the letter suffix indicating the severity.

At least one diagnostic message number must be specified.

Was this page helpful? Yes No