HP Code Advisor Diagnostics

4290 endian porting: the initialization of char array may be endian dependent.................................67
4292 endian porting: the dereference of cast pointer may be endian dependent................................67
4295 abstract function type declared with empty parentheses, consider replacing with parameter
list or void. ...........................................................................................................................................67
4298 64 bit migration: addition result could be truncated before cast to bigger sized type.................68
4299 64 bit migration: multiply result could be truncated before cast to bigger sized type................68
4300 Overflow while computing constant in left shift operation.........................................................68
4301 expression has no effect................................................................................................................69
4314 if statement without body, did you insert an extra ';'?.................................................................69
4315 %s loop without body, did you insert an extra ';'?........................................................................69
4354 One of the operands of the %sq operation is a string literal, strcmp() is recommended for such
comparison............................................................................................................................................69
4355 the initializer for %n is greater than %s........................................................................................70
4356 operand of sizeof is a constant rvalue, this might not be what you intended.............................70
4357 octal escape sequence "%s" is followed by decimal character '%s2'.............................................70
4360 size of types of consecutive bitfields are different, bitfield packing behavior may be different
across compiler.....................................................................................................................................71
4361 64 bit migration: size of types of consecutive bitfields are different, bitfield packing behavior
may be different across compilers........................................................................................................71
4363 possible mismatch in parameters passed to %n, previously seen %p.........................................71
4364 endian porting: type cast is endian dependent............................................................................72
20035 variable %s is used before its value is set...................................................................................72
20036 variable %s (field %s) is used before its value is set...................................................................73
20037 variable %s may be used before its value is set..........................................................................73
20048 %s "%s" has incompatible type with previous declaration at line %s in file "%s"......................73
20072 variable %s is partially uninitialized when used........................................................................74
20073 variable %s may be partially uninitialized when used..............................................................74
20074 variable %s (field "%s") may be used before its value is set.......................................................75
20200 Potential null pointer dereference %s%s is detected %s............................................................75
20201 Memory leak is detected.............................................................................................................76
20202 Allocated memory may potentially be leaked %s......................................................................76
20203 Potential out of scope use of local %s %s....................................................................................76
20206 Out of bound access (%s)............................................................................................................77
20208 Forming out of bound address(%s)............................................................................................78
20210 Mismatch in allocation and deallocation....................................................................................78
20213 Potential write to read only memory %s%s is detected.............................................................78
20229 variable "%s" is uninitialized if the loop %s is not executed......................................................79
20231 variable "%s" (field "%s") may be used before its value is set if the loop %s is not executed....79
6 Table of Contents