C/C++ Programmer's Guide (G06.25+)
Native C and C++ Compiler Messages
HP C/C++ Programmerās Guide for NonStop Systemsā429301-008
21-4
185 error identifier-list parameters may only be used in a function
definition
186 error function type may not come from a typedef
187 error the size of an array must be greater than zero
188 error array is too large
189 warning,
error
a translation unit must contain at least one declaration
190 error a function may not return a value of this type
191 error an array may not have elements of this type
192 error a declaration here may only declare a parameter
193 error duplicate parameter name
194 error %s has already been declared in the current scope
196 error class is too large (C++)
struct or union is too large (C)
197 error invalid size for bit field
198 error invalid type for a bit field
199 error zero-length bit field must be unnamed
200 warning signed bit field of length 1
201 error expression must have (pointer-to-) function type
202 error expected either a definition or a tag name
203 warning statement is unreachable
204 error expected āwhileā
205 warning,
error
this use of a default argument is nonstandard
206 error %s was referenced but not defined
207 error a continue statement may only be used within a loop
208 error a break statement may only be used within a loop or switch
209 warning,
error
non-void %s should return a value
210 warning,
error
a void function may not return a value
211 error cast to type %t is not allowed
212 error return value type does not match the function type
213 error a case label may only be used within a switch
214 error a default label may only be used within a switch
Table 21-1. Native C and C++ Compiler Messages (page 4 of 20)
Message
Number
Message
Type Message Text