[racket-dev] build error with gcc 4.5.2

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Mon Sep 12 11:38:37 EDT 2011

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



Posted on the dev mailing list.