HP-UX Cadvise Diagnostics Reference Guide (5900-1865, August 2012)

Table Of Contents
2224 the format string requires additional arguments..................................................................34
2225 the format string ends before this argument........................................................................34
2226 invalid format string conversion........................................................................................34
2228 trailing comma is nonstandard.........................................................................................34
2231 declaration is not visible outside of function.......................................................................35
2236 controlling expression is constant ....................................................................................35
2237 selector expression is constant..........................................................................................35
2245 a nonstatic member reference must be relative to a specific object........................................35
2248 pointer to reference is not allowed....................................................................................36
2249 reference to reference is not allowed.................................................................................36
2250 reference to void is not allowed.......................................................................................36
2251 array of reference is not allowed......................................................................................36
2252 reference %n requires an initializer...................................................................................37
2260 explicit type is missing ("int" assumed)..............................................................................37
2263 duplicate base class name..............................................................................................37
2265 %nd is inaccessible........................................................................................................37
2267 old-style parameter list (anachronism)................................................................................38
2269 conversion to inaccessible base class %t is not allowed.......................................................38
2276 name followed by :: must be a class or namespace name....................................................38
2278 a constructor or destructor may not return a value...............................................................39
2306 default argument not at end of parameter list.....................................................................39
2314 only nonstatic member functions may be virtual...................................................................39
2315 the object has cv-qualifiers that are not compatible with the member function..........................39
2319 pure specifier ("= 0") allowed only on virtual functions........................................................40
2320 badly-formed pure specifier (only "= 0" is allowed)............................................................40
2321 data member initializer is not allowed...............................................................................40
2322 object of abstract class type %t is not allowed....................................................................41
2323 function returning abstract class %t is not allowed...............................................................41
2325 inline specifier allowed on function declarations only..........................................................41
2329 local class member %n requires a definition.......................................................................42
2336 unknown external linkage specification.............................................................................42
2340 value copied to temporary, reference to temporary used......................................................42
2363 invalid anonymous union -- nonpublic member is not allowed...............................................42
2364 invalid anonymous union -- member function is not allowed..................................................43
2365 anonymous union at global or namespace scope must be declared static..............................43
2375 declaration requires a typedef name.................................................................................44
2381 extra ";" ignored............................................................................................................44
2487 inline %n cannot be explicitly instantiated..........................................................................44
2513 a value of type %t1 cannot be assigned to an entity of type %t2...........................................44
2546 transfer of control bypasses initialization of: "variable".......................................................45
2549 "variable" is used before its value is set............................................................................45
2550 %n was set but never used..............................................................................................45
2656 transfer of control into a try block.....................................................................................46
2767 conversion from pointer to smaller integer..........................................................................46
2815 type qualifier on return type is meaningless........................................................................46
2826 %n was never referenced................................................................................................46
2830 %n has no corresponding operator delete%s (to be called if an exception is thrown during
initialization of an allocated object)..........................................................................................47
2836 returning reference to local variable..................................................................................47
2837 omission of explicit type is nonstandard ("int" assumed)......................................................47
2940 missing return statement at end of non-void function "function".............................................48
2951 return type of function "main" must be int..........................................................................48
2991 extra braces are nonstandard..........................................................................................48
3000 a storage class may not be specified here.........................................................................48
3051 standard requires that %n be given a type by a subsequent declaration (\"int\" assumed).......48
4 Contents