]> andersk Git - splint.git/blame - test/ulstypes.expect
Fixes for win32
[splint.git] / test / ulstypes.expect
CommitLineData
885824d3 1
2ulstypes.c:3:23: Contradictory long and short type qualifiers
3ulstypes.c: (in function f)
4ulstypes.c:10:12: Function f expects arg 1 to be unsigned int gets long int: li
5ulstypes.c:10:3: Assignment of long int to int: loc = f(li)
6ulstypes.c:11:3: Assignment of long int to int: loc = f(ui)
7ulstypes.c:12:12: Function f expects arg 1 to be unsigned int gets int: loc
8ulstypes.c:12:3: Assignment of long int to int: loc = f(loc)
9ulstypes.c:15:10: Return value type unsigned int does not match declared type
10 long int: x
11ulstypes.c:20:19: Variable x3 initialized to type int, expects unsigned int:
12 -15
13
11db3170 14Finished checking --- 8 code warnings, as expected
885824d3 15
11db3170 16Finished checking --- no warnings
885824d3 17
18ulstypes.c:3:23: Contradictory long and short type qualifiers
19ulstypes.c: (in function f)
20ulstypes.c:7:19: Variable loli initialized to type int, expects long int: 12
21ulstypes.c:10:12: Undocumented use of global li
22ulstypes.c:10:12: Function f expects arg 1 to be unsigned int gets long int: li
23ulstypes.c:10:9: Undetected modification possible from call to unconstrained
24 function f: f
25ulstypes.c:10:3: Assignment of long int to int: loc = f(li)
26ulstypes.c:11:12: Undocumented use of global ui
27ulstypes.c:11:9: Undetected modification possible from call to unconstrained
28 function f: f
29ulstypes.c:11:3: Assignment of long int to int: loc = f(ui)
30ulstypes.c:12:12: Function f expects arg 1 to be unsigned int gets int: loc
31ulstypes.c:12:9: Undetected modification possible from call to unconstrained
32 function f: f
33ulstypes.c:12:3: Assignment of long int to int: loc = f(loc)
34ulstypes.c:14:3: Assignment of int to long int: loli = loc
35ulstypes.c:15:10: Return value type unsigned int does not match declared type
36 long int: x
37ulstypes.c:19:19: Variable x2 initialized to type int, expects unsigned int: 23
38ulstypes.c:20:19: Variable x3 initialized to type int, expects unsigned int:
39 -15
40ulstypes.c:24:16: Variable x7 initialized to type int, expects short int: 14
41ulstypes.c:3:21: Variable si declared but not used
42ulstypes.c:18:14: Variable x1 declared but not used
43ulstypes.c:19:14: Variable x2 declared but not used
44ulstypes.c:20:14: Variable x3 declared but not used
45ulstypes.c:21:14: Variable x4 declared but not used
46ulstypes.c:22:10: Variable x5 declared but not used
47ulstypes.c:23:10: Variable x6 declared but not used
48ulstypes.c:24:11: Variable x7 declared but not used
49ulstypes.c:1:14: Variable exported but not used outside ulstypes: ui
50ulstypes.c:2:10: Variable exported but not used outside ulstypes: li
51ulstypes.c:5:10: Function exported but not used outside ulstypes: f
52 ulstypes.c:16:1: Definition of f
53
11db3170 54Finished checking --- 28 code warnings, as expected
This page took 0.074967 seconds and 5 git commands to generate.