Atmel CAVR-4 Manual De Usuario
CAVR-4
280
Severity levels
AVR® IAR C/C++ Compiler
Reference Guide
Error
A diagnostic that is produced when the compiler has found a construct which clearly
violates the C or C++ language rules, such that code cannot be produced. An error will
produce a non-zero exit code.
violates the C or C++ language rules, such that code cannot be produced. An error will
produce a non-zero exit code.
Fatal error
A diagnostic that is produced when the compiler has found a condition that not only
prevents code generation, but which makes further processing of the source code
pointless. After the diagnostic has been issued, compilation terminates. A fatal error will
produce a non-zero exit code.
prevents code generation, but which makes further processing of the source code
pointless. After the diagnostic has been issued, compilation terminates. A fatal error will
produce a non-zero exit code.
SETTING THE SEVERITY LEVEL
The diagnostic can be suppressed or the severity level can be changed for all diagnostics,
except for fatal errors and some of the regular errors.
except for fatal errors and some of the regular errors.
See Options summary, page 169, for a description of the compiler options that are
available for setting severity levels.
available for setting severity levels.
See the chapter Pragma directives, for a description of the pragma directives that are
available for setting severity levels.
available for setting severity levels.
INTERNAL ERROR
An internal error is a diagnostic message that signals that there has been a serious and
unexpected failure due to a fault in the compiler. It is produced using the following form:
unexpected failure due to a fault in the compiler. It is produced using the following form:
Internal error: message
where
message
is an explanatory message. If internal errors occur, they should be
reported to your software distributor or IAR Technical Support. Include information
enough to reproduce the problem, typically:
enough to reproduce the problem, typically:
●
The product name
●
The version number of the compiler, which can be seen in the header of the list files
generated by the compiler
generated by the compiler
●
Your license number
●
The exact internal error message text
●
The source file of the program that generated the internal error
●
A list of the options that were used when the internal error occurred.