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-6
241 warning old-fashioned assignment operator
242 warning old-fashioned initializer
243 warning,
error
expression must be an integral constant expression
244 error expression must be an lvalue or a function designator
245 error declaration is incompatible with previous %sod
246 error name conflicts with previously used external name %s
247 warning unrecognized #pragma
250 error too few arguments in function call
251 warning,
error
invalid floating constant
252 warning,
error
argument of type %t1 is incompatible with parameter of type
%t2
253 error a function type is not allowed here
254 error expected a declaration
255 warning pointer points outside of underlying object
256 error invalid type conversion
257 remark,
warning,
error
external/internal linkage conflict with previous declaration
258 warning floating-point value does not fit in required integral type
259 warning expression has no effect
260 warning,
error
subscript out of range
262 warning %s declared and never referenced
264 warning right operand of \"%%\" is zero
265 remark,
warning
argument is incompatible with formal parameter
266 warning invalid argument type for format string conversion
267 error type of cast must be integral
268 error type of cast must be arithmetic or pointer
269 warning dynamic initialization in unreachable code
270 warning pointless comparison of unsigned integer with zero
271 warning possible use of "=" where "==" was intended
272 warning enumerated type mixed with another type
273 warning type qualifier is meaningless on cast type
Table 21-1. Native C and C++ Compiler Messages (page 6 of 20)
Message
Number
Message
Type Message Text