]> andersk Git - splint.git/blame - test/tests2.3.expect
Remove unused cpplib_createDefinition.
[splint.git] / test / tests2.3.expect
CommitLineData
885824d3 1
2pptest.c:26:21: Preprocessor command #else is not within a conditional
3pptest.c:28:30: Unbalanced #endif
4Preprocessing error for file: pptest.c
5*** Cannot continue.
6
7pptest.c:26:21: Preprocessor command #else is not within a conditional
8pptest.c:28:30: Unbalanced #endif
9Preprocessing error for file: pptest.c
10*** Cannot continue.
11
12pptest.c:26:21: Preprocessor command #else is not within a conditional
13pptest.c:28:30: Unbalanced #endif
14Preprocessing error for file: pptest.c
15*** Cannot continue.
16
17pptest.c:15:15: Parameter list for #define is not parseable
18pptest.c:22:41: Division by zero in #if
19pptest.c:26:21: Preprocessor command #else is not within a conditional
20pptest.c:28:30: Unbalanced #endif
21Preprocessing error for file: pptest.c
22*** Cannot continue.
23
24pptest2.c:1:21: invalid macro name
25pptest2.c:1:21: Missing white space after #define
26pptest2.c:3:13: invalid macro name
27pptest2.c:5:17: `defined' without an identifier
28pptest2.c:5:24: Division by zero in #if
29pptest2.c:5:25: mismatched parentheses in #if
30pptest2.c:11:1: Macro XFIG already defined
31 pptest2.c:10: Previous definition of XFIG
32pptest2.c:12:1: Macro XFIG already defined
33 pptest2.c:11: Previous definition of XFIG
34Preprocessing error for file: pptest2.c
35*** Cannot continue.
36
37Finished LCLint checking --- no code errors found
38
39fielduse.c:7:18: Field bit of unnamed structure declared but not used
40
41Finished LCLint checking --- 1 code error found, as expected
42
43Finished LCLint checking --- no code errors found
44
45Finished LCLint checking --- no code errors found
46
47Finished LCLint checking --- no code errors found
48
49func.c: (in function x)
50func.c:17:7: Call to non-function (type [function (void) returns int] **):
51 (&pf)
52func.c:23:7: Call to non-function (type [function (void) returns int] ***):
53 (&ppf)
54func.c:24:7: Call to non-function (type [function (void) returns int] **): ppf
55func.c:29:7: Call to non-function (type [function (void) returns int] ****):
56 (&pppf)
57func.c:30:7: Call to non-function (type [function (void) returns int] ***):
58 pppf
59func.c:31:7: Call to non-function (type [function (void) returns int] **):
60 (*pppf)
61func.c:35:3: Invalid left-hand side of assignment (function type [function
62 (void) returns int]): f
63func.c:37:3: Assignment of [function (void) returns int] * to [function (void)
64 returns int] **: ppf = pf
65func.c:40:3: Assignment of [function (void) returns int] ** to [function (void)
66 returns int] ***: pppf = ppf
67
68Finished LCLint checking --- 9 code errors found, as expected
69Command Line: Setting mode checks after setting mode flags will override set
70 values of flags: exportlocal
71
72func.c: (in function x)
73func.c:13:9: Dereference of function type ([function (void) returns int]): *f
74func.c:14:10: Dereference of function type ([function (void) returns int]): *f
75func.c:14:9: Dereference of function type ([function (void) returns int]): **f
76func.c:15:11: Dereference of function type ([function (void) returns int]): *f
77func.c:15:10: Dereference of function type ([function (void) returns int]): **f
78func.c:15:9: Dereference of function type ([function (void) returns int]): ***f
79func.c:17:7: Call to non-function (type [function (void) returns int] **):
80 (&pf)
81func.c:20:9: Dereference of function type ([function (void) returns int]): **pf
82func.c:21:10: Dereference of function type ([function (void) returns int]):
83 **pf
84func.c:21:9: Dereference of function type ([function (void) returns int]):
85 ***pf
86func.c:23:7: Call to non-function (type [function (void) returns int] ***):
87 (&ppf)
88func.c:24:7: Call to non-function (type [function (void) returns int] **): ppf
89func.c:27:9: Dereference of function type ([function (void) returns int]):
90 ***ppf
91func.c:29:7: Call to non-function (type [function (void) returns int] ****):
92 (&pppf)
93func.c:30:7: Call to non-function (type [function (void) returns int] ***):
94 pppf
95func.c:31:7: Call to non-function (type [function (void) returns int] **):
96 (*pppf)
97func.c:35:3: Invalid left-hand side of assignment (function type [function
98 (void) returns int]): f
99func.c:37:3: Assignment of [function (void) returns int] * to [function (void)
100 returns int] **: ppf = pf
101func.c:40:3: Assignment of [function (void) returns int] ** to [function (void)
102 returns int] ***: pppf = ppf
103func.c:3:6: Function x exported but not declared in header file
104 func.c:43:1: Definition of x
105
106Finished LCLint checking --- 20 code errors found, as expected
107
108Finished LCLint checking --- no code errors found
109
110unnamedstruct.c:10:7: Field name reused: x
111unnamedstruct.c:5:9: Previous use of x
112
113Finished LCLint checking --- 1 code error found, as expected
114
115Finished LCLint checking --- no code errors found
116
117Finished LCLint checking --- no code errors found
This page took 0.082808 seconds and 5 git commands to generate.