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.

Syntax

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

Where:

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, without the -D suffix.

At least one diagnostic message number must be specified.

Was this page helpful? Yes No