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