You copied the Doc URL to your clipboard.


This option disables diagnostic messages that have the specified tags.

The --diag_suppress option 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.


This option has the #pragma equivalent #pragma diag_suppress.



Where tag can be:

  • a diagnostic message number to be suppressed

  • error, to suppress all downgradable errors

  • warning, to suppress all warnings.