You copied the Doc URL to your clipboard.


Sets diagnostic messages that have a specific tag to Remark severity.

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


Remarks are not displayed by default. Use the --remarks option to display these messages.


This option has the #pragma equivalent #pragma diag_remark.

--diag_remark= tag[,tag,…]

Where tag is a comma-separated list of diagnostic message numbers.

Was this page helpful? Yes No