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 Pe117.

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_warning, for the diagnostic messages specified with the tags.

Example
#pragma diag_default=Pe117
See also

Diagnostics.