You copied the Doc URL to your clipboard.

#pragma diag_remark tag[,tag,...]

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

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

#pragma diag_remark behaves analogously to #pragma diag_error, except that the compiler sets the diagnostic messages having the specified tags to Remark severity rather than Error severity.

Note

Remarks are not displayed by default. Use the --remarks compiler option to see remark messages.

Syntax

#pragma diag_remark 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.

Was this page helpful? Yes No