Skip to main content

IAR Embedded Workbench for RL78 5.20

‑‑diag_error

In this section:
Syntax
‑‑diag_error=tag,tag,... 
Parameters

tag

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

Description

Use this option to classify diagnostic messages as errors.

An error indicates a violation of the assembler language rules, of such severity that object code is not generated, and the exit code will not be 0. The option can be used more than once on the command line.

Example

This example classifies warning As001 as an error:

‑‑diag_error=As001

Caution

Project>Options>Assembler >Diagnostics>Treat these as errors