Hi there,

I came across something I think might be a bug. While I don't have a deep
understanding of what c99 and gnu99 really mean, I noted that this happens
on my 64bit system:

$ chicken -version
(c) 2008-2013, The Chicken Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.8.0.4 (stability/4.8.0) (rev 578619b)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2013-07-15 on aeryn.xorinia.dim (Darwin)
$ cat c99test.scm
(print "hi")
$ # gnu99 works:
$ csc -C --std=gnu99 c99test.scm && ./c99test
hi
$ # c99 does not work:
$ csc -C --std=c99 c99test.scm && ./c99test
In file included from c99test.c:11:0:
/usr/include/chicken/chicken.h:1532:1: error: unknown type name ‘sigjmp_buf’
 C_varextern C_TLS sigjmp_buf C_restart;
 ^

Error: shell command terminated with non-zero exit status 256: gcc
c99test.c -o c99test.o -c  -fno-strict-aliasing -fwrapv
-DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer
--std=c99 -I"/usr/include/chicken"


Is chicken supposed to be compilable with c99?
Thanks,
K.
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to