C/C++ Programmer's Guide (G06.25+)

TNS C Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
20-2
Types of Compiler Messages
4
The compiler encountered an unrecognized element that was not a valid lexical
construct (such as an identifier or one of the valid expression operators). This error can
occur if the compiler detected control characters or other illegal characters in the
source file. This error can also occur if you specified a preprocessor directive with the
number sign not in the first position of an input line.
5
You specified a preprocessor #define macro with the wrong number of arguments.
6
Expansion of a #define macro caused the compiler’s line buffer to overflow. This
error can occur if more than one lengthy macro appeared on a single input line.
7
You exceeded the maximum depth of #include nesting; the compiler supports
#include nesting to a maximum depth of 16.
8
You specified an invalid arithmetic or pointer conversion. This error usually results from
attempts to convert a scalar to an aggregate or function.
9
The named identifier was undefined in the scope where it appeared; that is, you did not
previously declare it. This message is generated only once; subsequent encounters
with the identifier assume that it is of type int, which can cause other errors.
invalid lexical token
number of actual and formal parameters in a macro are not
matched, macro is not expanded
line buffer overflow
file stack full
invalid conversion
undefined identifier name