You copied the Doc URL to your clipboard.

Severity of compiler diagnostic messages

Diagnostic messages have an associated severity.

The following table describes each of the different severities.


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


Was this page helpful? Yes No