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

TNS C Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
20-11
Types of Compiler Messages
56
The compiler did not find an expected colon. This error can occur if you improperly
specified a case statement, or if you omitted the colon following a label or prefix to a
statement.
57
The compiler did not find an expected semicolon. This error generally means that the
compiler completed the processing of an expression but did not find the statement
terminator. This error can occur if you included too many closing parentheses, if you
omitted the statement terminator, or if the expression were otherwise incorrectly
formed.
58
The compiler did not find a parentheses required by the syntax of the current statement
(as in a while or for loop). This error can occur if you incorrectly specified the
enclosed expression, causing the compiler to end the expression early.
59
This error can occur for several reasons, as follows:
In processing external data or function definitions, the compiler encountered a
storage class—such as auto or register—invalid for that declaration context.
If, due to preceding errors, the compiler began processing portions of the body of a
function as if they were external definitions.
A storage class other than register appeared in the declaration of a parameter.
60
An attempt was made to assign an aggregate of one type to an aggregate of another
type.
colon expected
semicolon expected
missing parenthesis
invalid storage class
incompatible aggregate types