HP Code Advisor Diagnostics

1 Diagnostics Categorization
This chapter addresses the diagnostics categorization for HP Code Advisor.
NOTE:
Some of the diagnostic numbers given below do not have a corresponding diagnostic
description. Incase you need a diagnostic description for a diagnostic number, please send
an email to:
cadvise-help@lists.hp.com
The diagnostics with number greater than 20000 are more effective when cross-file analysis
is enabled. For more information on cross-file analysis, see HP Code Advisor User's Guide.
Default Diagnostics
Following table lists all the diagnostic messages that are emitted even when you do not provide
any command line diagnostic options.
Table 1-1 Default diagnostics
Diagnostic message
Diagnostic
number
type qualifiers are meaningless in this declaration2021
expression must have integral type2031
the #endif for this directive is missing2037
operand types are incompatible (%t1 and %t2)2042
operand of sizeof may not be a function2056
integer conversion resulted in truncation2069
incomplete type is not allowed2070
a storage class may not be specified here2080
more than one storage class may not be specified2081
invalid storage class for a parameter2085
invalid storage class for a function2086
the size of an array must be greater than zero2094
a declaration here must declare a parameter2099
%sq has already been declared in the current scope2101
zero-length bit field must be unnamed2107
signed bit field of length 12108
expression must be a modifiable lvalue2137
taking the address of a register variable is not allowed2138
taking the address of a bit field is not allowed2139
too many arguments in function call2140
a value of type %t1 cannot be used to initialize an entity of type %t22144
declaration is incompatible with %nfd2147
Default Diagnostics 11