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_errors, 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.


For some diagnostic message numbers in the range 3000-3100, the same number can refer to two unrelated messages. ARM will address this in a future release. If you use this option, specifying such a number, it affects both messages.



Where tag can be:

  • a diagnostic message number to be suppressed

  • error, to suppress all downgradable errors

  • warning, to suppress all warnings.