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.

At least one diagnostic message number must be specified.