HP Code Advisor Diagnostics Reference Guide (5900-1865, July 2011)
Table 1 Default diagnostics (continued)
Diagnostic message
Diagnostic
number
Object %sq in pragma noptrs_to_globals may not have its address taken, pragma ignored4288
the use of pragma %s is not allowed in this environment4294
expression has no effect4301
case label constant out of range (%s) for switch expression4308
no prototype or definition in scope for call to memory allocation routine %sq4313
One or more source files were inaccessible (error: %s) while emitting the source context in diagnostics,
emitting column number instead.
4321
The asm declaration is ignored.4322
#pragma diag_pop attempted with an empty diagnostic pragma stack4343
tls_model attribute ignored because it conflicts with a previous declaration4345
tls_model local-exec attribute requires -exec option4346
the initializer for %n is greater than %s4355
operand of sizeof is a constant rvalue, this might not be what you intended.4356
1.2 +wall Diagnostics
Following table lists all the diagnostic messages that cadvise emits when you use the +wall
command line option.
Table 2 +wall diagnostics
Column HeadColumn Head
variable "%s" is uninitialized if the loop %s is not executed20229
variable "%s" may be partially uninitialized if the loop %s is not executed20230
variable "%s" (field "%s") may be used before its value is set if the loop %s is not executed20231
1.3 +wlint Diagnostics
Following table lists all the diagnostic messages that cadvise emits when you use the +wlint
command line option.
Table 3 +wlint diagnostics
Diagnostic messageDiagnostic number
argument is incompatible with formal parameter“2180” (page 31)
zero used for undefined preprocessing identifier %sq2193
trailing comma is nonstandard2228
explicit type is missing ("int" assumed)2260
old-style parameter list (anachronism)2267
duplicate friend declaration2324
extra ";" ignored2381
%n has an operator new%s() but no default operator delete%s()2399
destructor for base class %nod is not virtual2401
16 Diagnostics Categorization