]> andersk Git - splint.git/blame - test/tests2.4.expect
Created repository.
[splint.git] / test / tests2.4.expect
CommitLineData
885824d3 1
2Finished LCLint checking --- no code errors found
3
4Finished LCLint checking --- no code errors found
5
6duffs.c: (in function send)
7duffs.c:7:8: Fall through case (no preceeding break)
8duffs.c:8:8: Fall through case (no preceeding break)
9duffs.c:9:8: Fall through case (no preceeding break)
10duffs.c:10:8: Fall through case (no preceeding break)
11duffs.c:11:8: Fall through case (no preceeding break)
12duffs.c:12:8: Fall through case (no preceeding break)
13duffs.c:13:8: Fall through case (no preceeding break)
14
15Finished LCLint checking --- 7 code errors found
16
17Finished LCLint checking --- no code errors found
18
19Finished LCLint checking --- no code errors found
20
21bug2.c: (in function main)
22bug2.c:6:8: Fall through case (no preceeding break)
23bug2.c:10:10: Fall through case (no preceeding break)
24bug2.c:16:8: Fall through case (no preceeding break)
25bug2.c:5:5: Statement after switch is not a case: printf("here 1")
26bug2.c:20:2: Path with no return in function declared to return int
27
28Finished LCLint checking --- 5 code errors found, as expected
29
30bug3.c: (in function main)
31bug3.c:8:8: Fall through case (no preceeding break)
32bug3.c:12:21: Variable j used before definition
33bug3.c:13:2: Path with no return in function declared to return int
34
35Finished LCLint checking --- 3 code errors found
36
37Finished LCLint checking --- no code errors found
38
39Finished LCLint checking --- no code errors found
40
41Finished LCLint checking --- no code errors found
42
43hexconstants.c: (in function f)
44hexconstants.c:5:10: Return value type unsigned int does not match declared
45 type int: m1 + m2
46
47Finished LCLint checking --- 1 code error found, as expected
48Command Line: Setting mode checks after setting mode flags will override set
49 values of flags: exportlocal
50
51hexconstants.c: (in function f)
52hexconstants.c:2:21: Variable m1 initialized to type int, expects unsigned int:
53 0xFF
54hexconstants.c:3:21: Variable m2 initialized to type int, expects unsigned int:
55 0142
56hexconstants.c:5:10: Return value type unsigned int does not match declared
57 type int: m1 + m2
58hexconstants.c:1:5: Function f exported but not declared in header file
59 hexconstants.c:6:1: Definition of f
60
61Finished LCLint checking --- 4 code errors found, as expected
62
63innercomment.c:1:17: Start comment inside comment
64innercomment.c:16:3: Start comment inside comment
65Finished LCLint checking --- no code errors found
66
67Finished LCLint checking --- no code errors found
68
69offsetof.c: (in function f)
70offsetof.c:10:3: Assignment of size_t to int: m = offsetof(S,u)
71offsetof.c:12:26: Deep field k in offsetof is not the name of a field of struct
72 { int m; }: offsetof(S,u.s.k)
73
74Finished LCLint checking --- 2 code errors found, as expected
75
76Finished LCLint checking --- no code errors found
77
78Finished LCLint checking --- no code errors found
79
80Finished LCLint checking --- no code errors found
81
82error.c:5:9: Variable x initialized to type char, expects int: 'a'
83
84Finished LCLint checking --- 1 code error found, as expected
85
86ulrich.c: (in function utl_calloc)
87ulrich.c:14:13: Possibly null storage newblock returned as non-null: newblock
88 ulrich.c:12:16: Storage newblock may become null
89
90Finished LCLint checking --- 1 code error found
91
92cpptest.c: (in function test)
93cpptest.c:2:11: Variable x initialized to type char, expects int: 'a'
94
95Finished LCLint checking --- 1 code error found
96
97longlong.c: (in function llf)
98longlong.c:2:11: Variable m initialized to type long long, expects int: llx
99longlong.c:3:3: Assignment of long long to int: m = 243LL
100longlong.c:6:3: Assignment of long long to long int: lx = 5234LL
101longlong.c:9:3: Assignment of long long to long int: lx = llx
102
103Finished LCLint checking --- 4 code errors found, as expected
104
105Finished LCLint checking --- no code errors found
106
107Finished LCLint checking --- no code errors found
108
109Finished LCLint checking --- no code errors found
110
111alignof.c: (in function f)
112alignof.c:2:23: Variable m initialized to type size_t, expects int: alignof(x)
113alignof.c:3:23: Variable n initialized to type size_t, expects int:
114 alignof((x))
115
116Finished LCLint checking --- 2 code errors found, as expected
117
118Spec file not found: DBL_MANT_DIG=25.lcl
119Command Line: Malformed option `-D'
120Cannot open file: DBL_MANT_DIG=25.c
121Cannot open file: source.c
122
123Finished LCLint checking --- no code processed
This page took 0.116972 seconds and 5 git commands to generate.