Thanks for the new release. Here's my compilation report:
Operating system: Manjaro Linux
Hardware platform: x86_64
C Compiler: gcc 5.3.0
Compilation fails with the messages shown below. This is apparently the first invocation of 'chicken' - which on my system refers to the installed chicken executable, which is Chicken 4.10.0.
chicken build-version.scm -optimize-level 2 -include-path . -include-path ./ -inline -ignore-repository -feature chicken-bootstrap -no-warnings -specialize -types ./types.db -explicit-use -no-trace -output-file build-version.c
gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer -DC_BUILDING_LIBCHICKEN build-version.c -o build-version-static.o -I. -I./
build-version.c:29:25: error: unknown type name 'C_proc2'
static void C_fcall tr2(C_proc2 k) C_regparm C_noret;
^
build-version.c:30:35: error: unknown type name 'C_proc2'
C_regparm static void C_fcall tr2(C_proc2 k){
^
build-version.c: In function 'C_build_2dversion_toplevel':
build-version.c:56:38: warning: passing argument 2 of 'C_reclaim' makes integer from pointer without a cast [-Wint-conversion]
C_reclaim((void*)toplevel_trampoline,NULL);}
^
In file included from build-version.c:11:0:
chicken.h:1736:26: note: expected 'long int' but argument is of type 'void *'
C_fctexport void C_fcall C_reclaim(void *trampoline, C_word c) C_regparm C_nore
^
build-version.c:77:3: error: 'C_proc2' undeclared (first use in this function)
((C_proc2)(void*)(*((C_word*)t6+1)))(2,t6,C_SCHEME_UNDEFINED);}
^
build-version.c:77:3: note: each undeclared identifier is reported only once for each function it appears in
build-version.c:77:12: error: expected _expression_ before 'void'
((C_proc2)(void*)(*((C_word*)t6+1)))(2,t6,C_SCHEME_UNDEFINED);}
^
build-version.c: In function 'f_213':
build-version.c:87:27: error: 'tr2' undeclared (first use in this function)
C_save_and_reclaim((void*)tr2,(void*)f_213,2,t0,t1);}
^
build-version.c:87:31: warning: passing argument 2 of 'C_save_and_reclaim' makes integer from pointer without a cast [-Wint-conversion]
C_save_and_reclaim((void*)tr2,(void*)f_213,2,t0,t1);}
^
In file included from build-version.c:11:0:
chicken.h:1737:18: note: expected 'int' but argument is of type 'void *'
C_fctexport void C_save_and_reclaim(void *trampoline, int n, C_word *av) C_nore
^
build-version.c:87:44: warning: passing argument 3 of 'C_save_and_reclaim' makes pointer from integer without a cast [-Wint-conversion]
C_save_and_reclaim((void*)tr2,(void*)f_213,2,t0,t1);}
^
In file included from build-version.c:11:0:
chicken.h:1737:18: note: expected 'long int *' but argument is of type 'int'
C_fctexport void C_save_and_reclaim(void *trampoline, int n, C_word *av) C_nore
^
build-version.c:87:1: error: too many arguments to function 'C_save_and_reclaim'
C_save_and_reclaim((void*)tr2,(void*)f_213,2,t0,t1);}
^
In file included from build-version.c:11:0:
chicken.h:1737:18: note: declared here
C_fctexport void C_save_and_reclaim(void *trampoline, int n, C_word *av) C_nore
^
build-version.c:90:3: error: 'C_proc4' undeclared (first use in this function)
((C_proc4)(void*)(*((C_word*)t2+1)))(4,t2,t1,C_mpointer(&a,(void*)C_BUILD_TAG),
^
build-version.c:90:12: error: expected _expression_ before 'void'
((C_proc4)(void*)(*((C_word*)t2+1)))(4,t2,t1,C_mpointer(&a,(void*)C_BUILD_TAG),
^
build-version.c: In function 'C_build_2dversion_toplevel':
build-version.c:77:12: warning: 'noreturn' function does return
((C_proc2)(void*)(*((C_word*)t6+1)))(2,t6,C_SCHEME_UNDEFINED);}
^
build-version.c: In function 'f_213':
build-version.c:90:12: warning: 'noreturn' function does return
((C_proc4)(void*)(*((C_word*)t2+1)))(4,t2,t1,C_mpointer(&a,(void*)C_BUILD_TAG),
^
rules.make:131: recipe for target 'build-version-static.o' failed
make: *** [build-version-static.o] Error 1