[racket-dev] build error with gcc 4.5.2
I'm currently getting the following compilation error from HEAD:
make[4]: Entering directory `/home/samth/sw/plt/src/build/racket/gc2'
gcc -I./.. -I../../../racket/gc2/../include -g -O2 -pthread
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -c xsrc/jit.c -o
jit.o
../../../racket/gc2/../src/jit.c: In function ‘scheme_get_native_arity’:
../../../racket/gc2/../src/jit.c:3870:5: error: invalid use of
flexible array member
make[4]: *** [jit.o] Error 1
This is with gcc 4.5.2, Ubuntu 11.04.
--
sam th
samth at ccs.neu.edu