You copied the Doc URL to your clipboard.

#pragma diag_suppress tag[,tag,...]

This pragma disables all diagnostic messages that have the specified tags.

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

#pragma diag_suppress behaves analogously to #pragma diag_error, except that the compiler suppresses the diagnostic messages having the specified tags rather than setting them to have Error severity.

Syntax

#pragma diag_suppress tag[,tag,...]

Where:

tag[,tag,...]

is a comma-separated list of diagnostic message numbers specifying the messages to be suppressed. This is the four-digit number, nnnn, without the -D suffix.

Was this page helpful? Yes No