You copied the Doc URL to your clipboard.


Diagnostic messages produced by the compiler are of the form:

source-file, line-number: severity: error-code: explanation

where severity is one of:


If the severity is blank, this is a remark and indicates common, but sometimes unconventional, use of C or C++. Remarks are not displayed by default. Use the --remarks option to display remark messages. Compilation continues.


Flags unusual conditions in your code that might indicate a problem. Compilation continues.


Indicates a problem that causes the compilation to stop. For example, violations in the syntactic or semantic rules of the C or C++ language.

Internal fault

Indicates an internal problem with the compiler. Contact your supplier with the information listed in Conventions and feedback.



Is a number identifying the error type.


Is a text description of the error.

See Compiler Diagnostic Messages in Using the Compiler for more information.