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

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