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 >
Wrap
Text File
|
1997-09-03
|
3KB
|
52 lines
ulstypes.c:3,23: Contradictory long and short type qualifiers
ulstypes.c: (in function f)
ulstypes.c:10,12: Function f expects arg 1 to be unsigned int gets long int: li
ulstypes.c:10,3: Assignment of long int to int: loc = f(li)
ulstypes.c:11,3: Assignment of long int to int: loc = f(ui)
ulstypes.c:12,12: Function f expects arg 1 to be unsigned int gets int: loc
ulstypes.c:12,3: Assignment of long int to int: loc = f(loc)
ulstypes.c:15,10: Return value type unsigned int does not match declared type
long int: x
ulstypes.c:20,19: Variable x3 initialized to type int, expects unsigned int:
-15
Finished LCLint checking --- 8 code errors found, as expected
Finished LCLint checking --- no code errors found
ulstypes.c:3,23: Contradictory long and short type qualifiers
ulstypes.c: (in function f)
ulstypes.c:10,12: Undocumented use of global li
ulstypes.c:10,12: Function f expects arg 1 to be unsigned int gets long int: li
ulstypes.c:10,9: Undetected modification possible from call to unconstrained
function f: f
ulstypes.c:10,3: Assignment of long int to int: loc = f(li)
ulstypes.c:11,12: Undocumented use of global ui
ulstypes.c:11,9: Undetected modification possible from call to unconstrained
function f: f
ulstypes.c:11,3: Assignment of long int to int: loc = f(ui)
ulstypes.c:12,12: Function f expects arg 1 to be unsigned int gets int: loc
ulstypes.c:12,9: Undetected modification possible from call to unconstrained
function f: f
ulstypes.c:12,3: Assignment of long int to int: loc = f(loc)
ulstypes.c:14,3: Assignment of int to long int: loli = loc
ulstypes.c:15,10: Return value type unsigned int does not match declared type
long int: x
ulstypes.c:20,19: Variable x3 initialized to type int, expects unsigned int:
-15
ulstypes.c:3,21: Variable si declared but not used
ulstypes.c:18,14: Variable x1 declared but not used
ulstypes.c:19,14: Variable x2 declared but not used
ulstypes.c:20,14: Variable x3 declared but not used
ulstypes.c:21,14: Variable x4 declared but not used
ulstypes.c:22,10: Variable x5 declared but not used
ulstypes.c:23,10: Variable x6 declared but not used
ulstypes.c:24,11: Variable x7 declared but not used
ulstypes.c:1,14: Variable exported but not used outside ulstypes: ui
ulstypes.c:2,10: Variable exported but not used outside ulstypes: li
ulstypes.c:5,10: Function exported but not used outside ulstypes: f
ulstypes.c:16,1: Definition of f
Finished LCLint checking --- 25 code errors found, as expected