Skip to main content

IAR Embedded Workbench for RX 5.20

diag_default

In this section:
Syntax
#pragma diag_default=tag[,tag,...]
Parameters

tag

The number of a diagnostic message, for example, the message number Pe177.

Description

Use this pragma directive to change the severity level back to the default, or to the severity level defined on the command line by any of the options ‑‑diag_error, ‑‑diag_remark, ‑‑diag_suppress, or ‑‑diag_warnings, for the diagnostic messages specified with the tags. This level remains in effect until changed by another diagnostic-level pragma directive.

See also

Diagnostics.