]> andersk Git - splint.git/blob - test/funcpointer.out
Tried to fix more problmes with the Makefiles
[splint.git] / test / funcpointer.out
1
2 Cannot find standard library: ansi.lcd
3      Check LARCH_PATH environment variable.
4 funcpointer.c: (in function func2)
5 funcpointer.c:13:34: Unrecognized identifier: malloc
6 funcpointer.c: (in function func5)
7 funcpointer.c:19:28: Immediate address &i returned as implicitly only: &i
8 funcpointer.c: (in function main)
9 funcpointer.c:28:3: Assignment of [function (void) returns int] to f1:
10                        t1 = func1
11 funcpointer.c:29:3: Assignment of [function (void) returns int ***] to f1:
12                        t1 = func4
13 funcpointer.c:33:3: Assignment of [function (void) returns int *] to f2:
14                        t2 = func2
15 funcpointer.c:36:3: Assignment of [function (void) returns int **] to f3 *:
16                        t3p = func3
17 funcpointer.c:38:3: Assignment of [function (void) returns int *] to f4 *:
18                        t4 = func2
19 funcpointer.c:41:7: Call to non-function (type f1): (t1)
20 funcpointer.c:43:3: Assignment of int *** to int *: xp = (*t1)()
21 funcpointer.c:44:8: Call to non-function (type f4 *): (t4)
22 funcpointer.c:46:3: Assignment of [function (void) returns int] to f6:
23                        t6 = func1
24 funcpointer.c:46:3: Invalid left-hand side of assignment (function type f6): t6
25 funcpointer.c:47:3: Invalid left-hand side of assignment (function type f6): t6
26 funcpointer.c:48:10: Function (t6) called with 0 args, expects 2
27 funcpointer.c:49:10: Function (t6) called with 1 args, expects 2
28 funcpointer.c:50:11: Function (t6) called with 1 args, expects 2
29 funcpointer.c:50:10: Function ((t6)(3)) called with 0 args, expects 1
30
31 Finished LCLint checking --- 17 code errors found, expected 18
This page took 0.038041 seconds and 5 git commands to generate.