C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
TNS C Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
20-13
Types of Compiler Messages
67
A declaration specified an illegal object, which can include functions that return
aggregates (arrays, structures, or unions) and arrays of functions.
68
A structure or union declaration included an object declared as a function. (An
aggregate, however, can contain a pointer to a function.)
69
The structure or union whose declaration was just processed contains an instance of
itself. This error can occur if the * indirection operator is forgotten on a structure
pointer declaration, or if the structure actually contains an instance of itself.
70
You declared a parameter illegally in a function declaration. For example, if you declare
a formal parameter to be a function instead of a pointer to a function, you get this error.
71
You declared an object before the opening brace of a function, but you did not include
it in the list of parameter names enclosed in parentheses following the function name.
72
You declared an external item with attributes that conflict with a previous declaration.
This error can occur if a function was used earlier, as an implicit int function, and was
then declared as returning some other type of value. You must declare functions that
return a value other than int before they are used so that the compiler is aware of the
type of the function value.
illegal object
illegal object for structure
structure includes instance of self
illegal object for formal
formal declaration error identifier
external item attribute mismatch