Skip to main content

IAR Embedded Workbench for RX 5.20

Diagnostics

In this section:

This section describes the format of the diagnostic messages and explains how diagnostic messages are divided into different levels of severity.

Message format for the compiler

All diagnostic messages are issued as complete, self-explanatory messages. A typical diagnostic message from the compiler is produced in the form:

filename, linenumber level[tag]: message  

with these elements:

filename

The name of the source file in which the issue was encountered

linenumber

The line number at which the compiler detected the issue

level

The level of seriousness of the issue

tag

A unique tag that identifies the diagnostic message

message

An explanation, possibly several lines long

Diagnostic messages are displayed on the screen, as well as printed in the optional list file.

Use the option ‑‑diagnostics_tables to list all possible compiler diagnostic messages.