C/C++ Programmer's Guide (G06.25+)

Native C and C++ Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
21-12
452 error class %t has no suitable assignment operator
453 error ambiguous default assignment operator for class %t
454 warning const or volatile qualifier is not allowed
455 warning,
error
declaration requires a typedef name
456 warning,
error
declaration requires an object name
457 error "virtual" is not allowed
458 error "static" is not allowed
459 error cast of bound function to normal function pointer
(anachronism)
460 error expression must have pointer-to-member type
461 remark extra ";" ignored
462 remark,
error
declaring a member constant is nonstandard
463 error a pointer to const may not be deleted
464 error no instance of overloaded %so matches these operands
465 error operator delete() may not be overloaded
466 error no instance of %s matches the required type
467 error delete array size expression ignored (anachronism)
468 error operator->() requires pointer-to-class return type
469 error a cast to an abstract class is not allowed
470 error function "main" may not be called or have its address taken
471 error a new-initializer may not be specified for an array
472 error a member function may not be redeclared outside its class
473 error pointer to incomplete class type is not allowed
474 error reference to local variable of enclosing function is not allowed
475 error single-argument function used for postfix %s (anachronism)
476 error access adjustment is not allowed -- mixed accessibility for %s
477 error implicitly generated assignment operator cannot copy:
478 warning cast to array type is nonstandard (treated as cast to %t)
479 remark %s has an operator new() but no operator delete()
480 remark %s has an operator delete() but no operator new()
481 remark destructor for base class %t is not virtual
482 warning %s has no accessible constructors
Table 21-1. Native C and C++ Compiler Messages (page 12 of 20)
Message
Number
Message
Type Message Text