6.1 Severity of compiler diagnostic messages

Diagnostic messages have an associated severity.

The following table describes each of the different severities.

Table 6-1 Severity of diagnostic messages

Severity Description
Internal fault

Internal faults indicate an internal problem with the compiler. Contact your supplier with feedback.

Error

Errors indicate problems that cause the compilation to stop. These errors include command line errors, internal errors, missing include files, and violations in the syntactic or semantic rules of the C or C++ language. If multiple source files are specified, no more source files are compiled.

Warning

Warnings indicate unusual conditions in your code that might indicate a problem. Compilation continues, and object code is generated unless any more problems with an Error severity are detected.

Remark

Remarks indicate common, but sometimes unconventional, use of C or C++. These diagnostics are not displayed by default. Compilation continues, and object code is generated unless any more problems with an Error severity are detected.

Related concepts
6.2 Options that change the severity of compiler diagnostic messages
6.3 Controlling compiler diagnostic messages with pragmas
6.4 Prefix letters in compiler diagnostic messages
6.5 Compiler exit status codes and termination messages
6.6 Compiler data flow warnings
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.