]>
Commit | Line | Data |
---|---|---|
e5081f8c | 1 | |
2 | Command Line: Setting mode strict after setting mode flags will override set | |
3 | values of flags: exportlocal | |
4 | sizesigns.c: (in function foo) | |
5 | sizesigns.c:5:7: Operands of == have incompatible types (arbitrary unsigned | |
6 | integral type, int): z / sizeof((z)) == 10 | |
7 | sizesigns.c:6:12: Body of if clause of if statement is not a block: return 1 | |
8 | sizesigns.c:8:12: Body of else clause of if statement is not a block: return 0 | |
9 | sizesigns.c:3:5: Function foo declared but not used | |
10 | sizesigns.c:9:1: Definition of foo | |
11 | sizesigns.c:3:5: Function foo exported but not declared in header file | |
12 | sizesigns.c:9:1: Definition of foo | |
13 | ||
14 | Finished checking --- 5 code warnings, as expected | |
15 | ||
16 | Command Line: Setting mode strict after setting mode flags will override set | |
17 | values of flags: exportlocal | |
18 | sizesigns.c: (in function foo) | |
19 | sizesigns.c:6:12: Body of if clause of if statement is not a block: return 1 | |
20 | sizesigns.c:8:12: Body of else clause of if statement is not a block: return 0 | |
21 | sizesigns.c:3:5: Function foo declared but not used | |
22 | sizesigns.c:9:1: Definition of foo | |
23 | sizesigns.c:3:5: Function foo exported but not declared in header file | |
24 | sizesigns.c:9:1: Definition of foo | |
25 | ||
26 | Finished checking --- 4 code warnings, as expected |