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 / decl.expect < prev    next >
Text File  |  1997-09-03  |  1KB  |  32 lines

  1.  
  2. decl.c: (in function main)
  3. decl.c:5,19: Variable y initialized to type [function (int) returns int] **,
  4.                 expects [function (int) returns int] *: &test
  5. decl.c:7,3: Call to non-function (type [function (int) returns int] **): x
  6. decl.c:8,2: Path with no return in function declared to return int
  7.  
  8. Finished LCLint checking --- 3 code errors found, as expected
  9.  
  10. decl.c:3,5: Function main declared without parameter list
  11. decl.c: (in function main)
  12. decl.c:5,19: Variable y initialized to type [function (int) returns int] **,
  13.                 expects [function (int) returns int] *: &test
  14. decl.c:7,3: Call to non-function (type [function (int) returns int] **): x
  15. decl.c:8,2: Path with no return in function declared to return int
  16. decl.c:1,5: Function test declared but not defined
  17. decl.c:1,5: Function test exported but not declared in header file
  18.  
  19. Finished LCLint checking --- 6 code errors found, as expected
  20.  
  21. decl2.c:3,6: Variable glob2 defined with inconsistent type (arrays and pointers
  22.                 are not identical in variable declarations): int *
  23.    decl2.h:3,12: Previous declaration of glob2: int []
  24. decl2.c:4,5: Variable glob2 redefined
  25.    decl2.c:3,6: Previous definition of glob2
  26. decl2.c:6,6: Variable glob3 redeclared with inconsistent type: char
  27.    decl2.h:4,12: Previous declaration of glob3: int
  28. decl2.c:9,5: Variable glob redefined
  29.    decl2.c:8,5: Previous definition of glob
  30.  
  31. Finished LCLint checking --- 4 code errors found, as expected
  32.