]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | |
2 | decl.c: (in function main) | |
3 | decl.c:7:3: Call to non-function (type [function (int) returns int] **): x | |
4 | decl.c:8:2: Path with no return in function declared to return int | |
5 | ||
6 | Finished LCLint checking --- 2 code errors found, as expected | |
7 | ||
8 | decl.c:3:5: Function main declared without parameter list | |
9 | decl.c: (in function main) | |
10 | decl.c:7:3: Call to non-function (type [function (int) returns int] **): x | |
11 | decl.c:8:2: Path with no return in function declared to return int | |
12 | decl.c:1:5: Function test declared but not defined | |
13 | decl.c:1:5: Function test exported but not declared in header file | |
14 | ||
15 | Finished LCLint checking --- 5 code errors found, as expected | |
16 | ||
17 | decl2.c:3:6: Variable glob2 defined with inconsistent type (arrays and pointers | |
18 | are not identical in variable declarations): int * | |
19 | decl2.h:3:12: Previous declaration of glob2: int [] | |
20 | decl2.c:4:5: Variable glob2 redefined | |
21 | decl2.c:3:6: Previous definition of glob2 | |
22 | decl2.c:6:6: Variable glob3 redeclared with inconsistent type: char | |
23 | decl2.h:4:12: Previous declaration of glob3: int | |
24 | decl2.c:9:5: Variable glob redefined | |
25 | decl2.c:8:5: Previous definition of glob | |
26 | ||
27 | Finished LCLint checking --- 4 code errors found, as expected |