]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | |
2 | args.c: (in function sumn) | |
3 | args.c:14:7: Assignment of char * to int: y = va_arg(args, char *) | |
4 | args.c:15:19: First argument to va_arg is not a va_list (type void *): yaba | |
5 | args.c: (in function test) | |
6 | args.c:22:7: Function sumn called with 0 args, expects at least 1 | |
7 | args.c:24:12: Function sumn expects arg 1 to be int gets char *: s | |
8 | args.c:27:7: Function test called with 3 args, expects 2 | |
9 | args.c:37:5: Function severalargs declared with 3 args, specified with 2 | |
10 | args.lcl:1: Specification of severalargs | |
11 | args.c:37:23: Parameter 1, c, of function severalargs has inconsistent type: | |
12 | declared char, specified int | |
13 | args.lcl:1: Specification of severalargs | |
14 | args.c:37:30: Parameter 2, y, of function severalargs has inconsistent type: | |
15 | declared int, specified char * | |
16 | args.lcl:1: Specification of severalargs | |
17 | args.c:43:5: Function severalargs2 declared with 1 arg, specified with 2 | |
18 | args.lcl:2: Specification of severalargs2 | |
19 | args.c:48:5: Function voidargs declared with 1 arg, specified with 0 | |
20 | args.lcl:7: Specification of voidargs | |
21 | args.c:59:33: Parameter 3, f, of function many1 has inconsistent type: | |
22 | declared float, specified ... | |
23 | args.lcl:4: Specification of many1 | |
24 | args.c:73:5: Function many3 declared with 1 arg, specified with 3 | |
25 | args.lcl:6: Specification of many3 | |
26 | ||
11db3170 | 27 | Finished checking --- 12 code warnings, as expected |