You copied the Doc URL to your clipboard.

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

Suppresses diagnostic messages that have a specific tag.

Behaves analogously to --diag_error, 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. This is the four-digit number, nnnn, with the tool letter prefix, but without the letter suffix indicating the severity.
  • error, to suppress all errors that can be downgraded.
  • warning, to suppress all warnings.
Was this page helpful? Yes No