You copied the Doc URL to your clipboard.

--diag_suppress=tag[,tag,...]

This option disables diagnostic messages that have the specified tags.

The --diag_suppress option behaves analogously to --diag_errors, except that the compiler suppresses the diagnostic messages having the specified tags rather than setting them to have error severity.

Note

This option has the #pragma equivalent #pragma diag_suppress.

Syntax

--diag_suppress=tag[,tag,...]

Where tag can be:

  • a diagnostic message number to be suppressed

  • error, to suppress all downgradeable errors

  • warning, to suppress all warnings.

Was this page helpful? Yes No