Compiling app-emulation/uae-0.8.24 with gcc-4.1.1 gives me this error message: i686-pc-linux-gnu-gcc -I. -I../src/include/ -c -O2 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -DGCCCONSTFUNC="__attribute__((const))" -mpreferred-stack-boundary=2 -fno-exceptions -DUNALIGNED_PROFITABLE -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DUSE_ZFILE -D__inline__=inline -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DSHM_SUPPORT_LINKS=1 custom.c -o custom.o custom.c:58: error: static declaration of 'vpos' follows non-static declaration ../src/include/custom.h:42: error: previous declaration of 'vpos' was here custom.c:115: error: static declaration of 'sprite_width' follows non-static declaration ../src/include/drawing.h:34: error: previous declaration of 'sprite_width' was here custom.c:238: error: static declaration of 'next_sprite_entry' follows non-static declaration ../src/include/drawing.h:200: error: previous declaration of 'next_sprite_entry' was here custom.c: In function 'update_fetch': custom.c:1270: warning: comparison between signed and unsigned custom.c: In function 'do_sprite_collisions': custom.c:1557: warning: comparison between signed and unsigned custom.c: In function 'do_sprites_1': custom.c:3089: warning: comparison between signed and unsigned make[1]: *** [custom.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/uae-0.8.24/work/uae-0.8.24/src' make: *** [all] Error 2 After searching the web, it looks like the same would probably happen with gcc-4.0 as well. There is some patch at the URL, but I'm not sure what the intended meaning of the original code was, if the patch does the right thing.
this issue seems to be also in uae-0.8.25, together with various other issues (./configure: line 12608: [: =: unary operator expected for example)
Created attachment 94880 [details, diff] uae-0.8.24-gcc4x.patch Basically extracted the patch from the URL, but still doesn't compile here, might try to fix it later.
Please download latest 0.8.25 and include patch, mark as stable.
same here
@pva - can you have a look please?
Well. This and some other debian patches are in cvs and are applied in uae-0.8.25-r1.