Ticket #1626: gcc-errors.txt

File gcc-errors.txt, 3.9 KB (added by Diego, 3 years ago)

gcc errors

Line 
1-*- mode: compilation; default-directory: "/tmp/" -*-
2Compilation started at Wed Jun 26 22:17:55
3
4csc test.scm -O3
5In file included from test.c:8:
6test.c: In function ‘f_133’:
7test.c:110:74: error: ‘inf’ undeclared (first use in this function); did you mean ‘ynf’?
8  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
9      |                                                                          ^~~
10/usr/include/chicken/chicken.h:1035:38: note: in definition of macro ‘C_truep’
11 1035 | #define C_truep(x)                 ((x) != C_SCHEME_FALSE)
12      |                                      ^
13/usr/include/chicken/chicken.h:1502:41: note: in expansion of macro ‘C_mk_bool’
14 1502 | #define C_ub_i_flonum_equalp(n1, n2)    C_mk_bool((n1) == (n2))
15      |                                         ^~~~~~~~~
16test.c:110:12: note: in expansion of macro ‘C_ub_i_flonum_equalp’
17  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
18      |            ^~~~~~~~~~~~~~~~~~~~
19test.c:110:74: note: each undeclared identifier is reported only once for each function it appears in
20  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
21      |                                                                          ^~~
22/usr/include/chicken/chicken.h:1035:38: note: in definition of macro ‘C_truep’
23 1035 | #define C_truep(x)                 ((x) != C_SCHEME_FALSE)
24      |                                      ^
25/usr/include/chicken/chicken.h:1502:41: note: in expansion of macro ‘C_mk_bool’
26 1502 | #define C_ub_i_flonum_equalp(n1, n2)    C_mk_bool((n1) == (n2))
27      |                                         ^~~~~~~~~
28test.c:110:12: note: in expansion of macro ‘C_ub_i_flonum_equalp’
29  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
30      |            ^~~~~~~~~~~~~~~~~~~~
31test.c:110:77: error: expected ‘)’ before numeric constant
32  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
33      |                                                                             ^~
34/usr/include/chicken/chicken.h:1035:38: note: in definition of macro ‘C_truep’
35 1035 | #define C_truep(x)                 ((x) != C_SCHEME_FALSE)
36      |                                      ^
37/usr/include/chicken/chicken.h:1502:41: note: in expansion of macro ‘C_mk_bool’
38 1502 | #define C_ub_i_flonum_equalp(n1, n2)    C_mk_bool((n1) == (n2))
39      |                                         ^~~~~~~~~
40test.c:110:12: note: in expansion of macro ‘C_ub_i_flonum_equalp’
41  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
42      |            ^~~~~~~~~~~~~~~~~~~~
43/usr/include/chicken/chicken.h:1502:59: note: to match this ‘(’
44 1502 | #define C_ub_i_flonum_equalp(n1, n2)    C_mk_bool((n1) == (n2))
45      |                                                           ^
46/usr/include/chicken/chicken.h:1035:38: note: in definition of macro ‘C_truep’
47 1035 | #define C_truep(x)                 ((x) != C_SCHEME_FALSE)
48      |                                      ^
49/usr/include/chicken/chicken.h:1502:41: note: in expansion of macro ‘C_mk_bool’
50 1502 | #define C_ub_i_flonum_equalp(n1, n2)    C_mk_bool((n1) == (n2))
51      |                                         ^~~~~~~~~
52test.c:110:12: note: in expansion of macro ‘C_ub_i_flonum_equalp’
53  110 | if(C_truep(C_ub_i_flonum_equalp(C_flonum_magnitude(*((C_word*)lf[0]+1)),+inf.0))){
54      |            ^~~~~~~~~~~~~~~~~~~~
55test.c:132:1: warning: ‘noreturn’ function does return
56  132 | ((C_proc)(void*)(*((C_word*)t5+1)))(3,av2);}}}
57      | ^
58
59Error: shell command terminated with non-zero exit status 256: 'gcc' 'test.c' -o 'test.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -I/usr/include/chicken
60
61Compilation exited abnormally with code 1 at Wed Jun 26 22:17:55