C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Native C and C++ Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
21-13
483 error %s has already been declared
484 error function "main" may not be declared inline
485 error member function with the same name as its class must be a
constructor
486 error using nested %s (anachronism)
487 error a destructor may not have parameters
488 error copy constructor for class %t may not have a parameter of
type %t
489 error a function may not return an incomplete type
490 error protected %s is not accessible through a %t pointer or object
491 error a parameter is not allowed
493 error an "asm" declaration is not allowed at this point
494 error no suitable conversion function from %t1 to %t2 exists
495 warning delete of pointer to incomplete class
496 error no suitable constructor exists to convert from %t1 to %t2
497 error more than one constructor applies to convert from %t1 to
%t2:
498 error more than one conversion function from %t1 to %t2 applies:
499 error more than one conversion function from %t to a built-in type
applies:
504 error %s (ambiguous by inheritance)
505 error a constructor or destructor may not have its address taken
507 error temporary used for initial value of reference to non-const
(anachronism)
508 warning,
error
qualified name is not allowed in member declaration
509 warning enumerated type mixed with another type (anachronism)
510 error the size of an array in "new" must be non-negative
511 warning returning reference to local temporary
512 warning const qualifier dropped in initializing reference to non-const
513 error "enum" declaration is not allowed
514 error initial value of reference has excess const/volatile qualifiers
515 error initial value of reference to non-const has incorrect type
517 error parameter %s hidden by declaration in function
520 warning %s has static variables - cannot be inlined. Multiple copies of
routine may result in undefined behavior.
Table 21-1. Native C and C++ Compiler Messages (page 13 of 20)
Message
Number
Message
Type Message Text