From: NORMAN SU Date: 2002-12-21T03:35:49+09:00 Subject: Re: msys w/ FXRuby > I have faced the same kind of problem today. You can add: > > #define alloca(size) __builtin_alloca(size) > > to opnegl_wrap.cpp and ui_wrap.cpp. This worked great! Thanks so much. Just to let you guys know that, unfortunantely, taking out the "-D__NO_ISOCEXT" did not solve the problem: gcc -DIMPORT -DNT -g -O2 -fpermissive -DWIN32 -Iinclude -I. -IC:/msys/1.0/h ome/normsu/local/lib/ruby/1.6/i686-mingw32 -IC:/msys/1.0/home/normsu/src/FXR uby-1.0.17/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -IC:/msys/1.0/home/no rmsu/local/include/fox -I/usr/local/include -c -o librb.o librb.c In file included from C:/msys/1.0/home/normsu/local/lib/ruby/1.6/i686-mingw32/defines.h:36, from C:/msys/1.0/home/normsu/local/lib/ruby/1.6/i686-mingw32/ruby.h:22, from librb.c:212: C:/msys/1.0/home/normsu/local/lib/ruby/1.6/i686-mingw32/win32/win32.h:225: parse error before "sizeof" C:/msys/1.0/home/normsu/local/lib/ruby/1.6/i686-mingw32/win32/win32.h:226: parse error before "sizeof" make: *** [librb.o] Error 1 I did not try out Lyle's suggestion, since the other one worked =) One more question, are FXRuby versions ONLY compatible with their equivalent versions? For example if I use FXRuby-1.0.17, does that mean I can ONLY use it with Fox version 1.0.17, or is it ok to use newer versions like 1.0.28? (so far 1.0.28 seems to work fine with FXRuby-1.0.17) Thanks, -- Norman