home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lclint.zip / lclint-2_3h-os2-bin.zip / test / tests2.2.expect < prev    next >
Text File  |  1997-09-03  |  4KB  |  100 lines

  1.  
  2. boolops.c: (in function main)
  3. boolops.c:12,3: Assignment of int to Kzam: b = 12
  4.  
  5. Finished LCLint checking --- 1 code error found, as expected
  6.  
  7. mbool.h:1,16: Type implemented as macro: bool
  8.  
  9. Finished LCLint checking --- 1 code error found, as expected
  10.  
  11. boolenum.c: (in function main)
  12. boolenum.c:11,8: Use of == with BOOLEAN variables (risks inconsistency because
  13.                     of multiple true values): a == TRUE
  14.  
  15. Finished LCLint checking --- 1 code error found, as expected
  16.  
  17. break.c: (in function f)
  18. break.c:9,4: Dereference of possibly null pointer x: *x
  19.    break.c:1,24: Storage x may become null
  20.  
  21. Finished LCLint checking --- 1 code error found, as expected
  22.  
  23. bstring.c:4,14: Initial value of s4[0] is type char *, expects char: "hullo"
  24. bstring.c:4,23: Initial value of s4[1] is type char *, expects char: "g'bye"
  25.  
  26. Finished LCLint checking --- 2 code errors found, as expected
  27.  
  28. decl.c:3,21: Structure struct tm declared with fields { int x; }, specified
  29.                 with fields { int tm_sec; int tm_min; int tm_hour;, ... }
  30.    load file ansi.lcd: Specification of struct tm
  31.    decl.c:3,17: Field tm_sec in specified corresponds to x in declaration
  32.    load file ansi.lcd: Specification of tm_sec
  33.  
  34. Finished LCLint checking --- 1 code error found, as expected
  35.  
  36. enumbool.c:1,34: Member of boolean enumerated type definition does not match
  37.                     name set to represent TRUE or FALSE: false
  38. enumbool.c:1,34: Member of boolean enumerated type definition does not match
  39.                     name set to represent TRUE or FALSE: true
  40.  
  41. Finished LCLint checking --- 2 code errors found, as expected
  42.  
  43. Finished LCLint checking --- no code errors found
  44.  
  45. Finished LCLint checking --- no code errors found
  46.  
  47. extension.c:3,1: Parse Error. (For help on parse errors, see lclint -help
  48.                parseerrors.)
  49. *** Cannot continue.
  50.  
  51. Finished LCLint checking --- no code errors found
  52.  
  53. nestext.c: (in function f)
  54. nestext.c:3,26: Declaration using extern inside function scope: int test()
  55.  
  56. Finished LCLint checking --- 1 code error found, as expected
  57.  
  58. Finished LCLint checking --- no code errors found
  59.  
  60. sizeofarray.c:1,12: Function parameter x declared as manifest array (size
  61.                        constant is meaningless)
  62. sizeofarray.c: (in function f)
  63. sizeofarray.c:5,13: Parameter to sizeof is an array-type function parameter:
  64.                        sizeof((x))
  65. sizeofarray.c:10,16: Return value type size_t does not match declared type int:
  66.                         sizeof((a))
  67.  
  68. Finished LCLint checking --- 3 code errors found, as expected
  69.  
  70. Load library obsolete is in obsolete LCLint library format.  Attempting to
  71. continue anyway, but results may be incorrect.  Rebuild the library with this
  72. version of lclint.
  73. load file obsolete: Library file appears to be corrupted.  Error:
  74.                            usymIdSet_undump: loop: *0 (Datatype)
  75. *** Cannot continue.
  76.  
  77. Load library oldversion is in obsolete LCLint library format (version 2.1 ---
  78. Tue Aug 8 4:45:29 EDT 1996).  Attempting to continue anyway, but results may be
  79. incorrect.  Rebuild the library with this version of lclint.
  80. libraries.c:1: Include file <sys/types> matches the name of a POSIX library,
  81.     but the POSIX library is not being used.  Consider using +posixlib or
  82.     +posixstrictlib to select the POSIX library, or -warnposix to suppress this
  83.     message.
  84.  
  85. Finished LCLint checking --- 1 code error found, as expected
  86.  
  87. Finished LCLint checking --- no code errors found
  88.  
  89. Finished LCLint checking --- no code errors found
  90.  
  91. rex.c: (in function main)
  92. rex.c:19,12: Only storage re.parent (type struct rx_hash *) derived from
  93.                 variable declared in this scope is not released (memory leak)
  94.  
  95. Finished LCLint checking --- 1 code error found, as expected
  96.  
  97. struct.c:13,6: Function main declared to return void, should return int
  98.  
  99. Finished LCLint checking --- 1 code error found, as expected
  100.