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-7
Types of Compiler Messages
33
You attempted to attach an initializer expression to a structure, union, or array that was
declared auto. These initializations are not allowed by the language.
34
The expression used to initialize an object was invalid. This error can occur for a
variety of reasons, including failure to separate elements in an initializer list with
commas or specification of an expression that did not evaluate to a constant. This error
might require some experimentation to determine its exact cause.
35
During processing of an initializer list or a structure or union member declaration list,
the compiler did not find a closing right brace. This error can occur if you specified too
many elements in an initializer expression list, or if you improperly declared a structure
member.
36
The compiler isolated some source code that could never be executed given the
control flow of your program. An example of this situation is when a jumping statement
such as goto or return unconditionally causes control to skip the source code that
follows it.
37
The compiler encountered the specified statement label more than once during
processing of the current function.
cannot initialize auto aggregate
invalid initializer expression
closing brace expected
unreachable code
duplicate statement label label-name