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-5
Types of Compiler Messages
22
An identifier declared as a structure or union appeared as a function argument without
the preceding address-of operator. Although you can pass a structure by value, this
warning reminds you that it is inefficient to do so.
23
You used the conditional operator erroneously. This error can occur if the question
mark was present but the colon was not found when expected.
24
The context of the expression required a pointer operand. This error can occur if the
expression following the * indirection operator did not evaluate to a pointer.
25
The context of the expression required an operand to be an lvalue. This error can
occur if the expression following the address-of operator was not an lvalue, or if the left
side of an assignment expression was not an lvalue.
26
The context of the expression required an operand to be arithmetic (not a pointer,
function, or aggregate).
27
The context of the expression required an operand to be either arithmetic or a pointer.
This error can occur for the logical OR and logical AND operators.
structure used as function argument
invalid use of conditional operator
pointer operand required
lvalue required
arithmetic operand required
arithmetic or pointer operand required