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-9
Types of Compiler Messages
44
The compiler detected a continue statement that was not within the scope of a
while, do, or for loop. This error can occur due to an error in a preceding statement.
45
The compiler encountered a default statement outside the scope of a switch
statement. This error can occur due to an error in a preceding statement.
46
The compiler encountered a default statement within the scope of a switch
statement in which a preceding default statement had already been encountered.
47
Following the body of a do statement, the compiler did not find the while clause. This
error can occur due to an error within the body of the do statement.
48
The expression defining the looping condition in a while or do loop was not present. If
you are trying to define an infinite loop, you must supply the constant 1 as the looping
condition.
49
The compiler detected an else keyword that was not within the scope of a preceding
if statement. This error can occur due to an error in a preceding statement.
continue not inside loop
default not inside switch
more than one default
while missing from do statement
invalid while expression
else not associated with if