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 / ulstypes.expect < prev    next >
Text File  |  1997-09-03  |  3KB  |  52 lines

  1.  
  2. ulstypes.c:3,23: Contradictory long and short type qualifiers
  3. ulstypes.c: (in function f)
  4. ulstypes.c:10,12: Function f expects arg 1 to be unsigned int gets long int: li
  5. ulstypes.c:10,3: Assignment of long int to int: loc = f(li)
  6. ulstypes.c:11,3: Assignment of long int to int: loc = f(ui)
  7. ulstypes.c:12,12: Function f expects arg 1 to be unsigned int gets int: loc
  8. ulstypes.c:12,3: Assignment of long int to int: loc = f(loc)
  9. ulstypes.c:15,10: Return value type unsigned int does not match declared type
  10.                      long int: x
  11. ulstypes.c:20,19: Variable x3 initialized to type int, expects unsigned int:
  12.                      -15
  13.  
  14. Finished LCLint checking --- 8 code errors found, as expected
  15.  
  16. Finished LCLint checking --- no code errors found
  17.  
  18. ulstypes.c:3,23: Contradictory long and short type qualifiers
  19. ulstypes.c: (in function f)
  20. ulstypes.c:10,12: Undocumented use of global li
  21. ulstypes.c:10,12: Function f expects arg 1 to be unsigned int gets long int: li
  22. ulstypes.c:10,9: Undetected modification possible from call to unconstrained
  23.                     function f: f
  24. ulstypes.c:10,3: Assignment of long int to int: loc = f(li)
  25. ulstypes.c:11,12: Undocumented use of global ui
  26. ulstypes.c:11,9: Undetected modification possible from call to unconstrained
  27.                     function f: f
  28. ulstypes.c:11,3: Assignment of long int to int: loc = f(ui)
  29. ulstypes.c:12,12: Function f expects arg 1 to be unsigned int gets int: loc
  30. ulstypes.c:12,9: Undetected modification possible from call to unconstrained
  31.                     function f: f
  32. ulstypes.c:12,3: Assignment of long int to int: loc = f(loc)
  33. ulstypes.c:14,3: Assignment of int to long int: loli = loc
  34. ulstypes.c:15,10: Return value type unsigned int does not match declared type
  35.                      long int: x
  36. ulstypes.c:20,19: Variable x3 initialized to type int, expects unsigned int:
  37.                      -15
  38. ulstypes.c:3,21: Variable si declared but not used
  39. ulstypes.c:18,14: Variable x1 declared but not used
  40. ulstypes.c:19,14: Variable x2 declared but not used
  41. ulstypes.c:20,14: Variable x3 declared but not used
  42. ulstypes.c:21,14: Variable x4 declared but not used
  43. ulstypes.c:22,10: Variable x5 declared but not used
  44. ulstypes.c:23,10: Variable x6 declared but not used
  45. ulstypes.c:24,11: Variable x7 declared but not used
  46. ulstypes.c:1,14: Variable exported but not used outside ulstypes: ui
  47. ulstypes.c:2,10: Variable exported but not used outside ulstypes: li
  48. ulstypes.c:5,10: Function exported but not used outside ulstypes: f
  49.    ulstypes.c:16,1: Definition of f
  50.  
  51. Finished LCLint checking --- 25 code errors found, as expected
  52.