On Sat, Jun 18, 2005 at 07:41:48PM +0200, Andreas Jochens said > When building 'schism' on amd64/unstable with gcc-4.0, > I get the following error: > > x86_64-linux-gcc -Wall -g -O2 -o bin2h bin2h.o util.o > rm -f ./default-font.h > echo '/* this file should only be included by draw-char.c */' > > default-font.h > ./bin2h -n font_default_lower ./default-lower.fnt >> default-font.h > ./bin2h -n font_default_upper_itf ./default-upper-itf.fnt >> default-font.h > ./bin2h -n font_default_upper_alt ./default-upper-alt.fnt >> default-font.h > ./bin2h -n font_half_width ./half-width.fnt >> default-font.h > if x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I./include > -I./libmodplug -I. -I/usr/include/SDL -D_REENTRANT -Wall -g -O2 -MT > draw-char.o -MD -MP -MF ".deps/draw-char.Tpo" -c -o draw-char.o draw-char.c; \ > then mv -f ".deps/draw-char.Tpo" ".deps/draw-char.Po"; else rm -f > ".deps/draw-char.Tpo"; exit 1; fi > draw-char.c:63: error: static declaration of 'charcache' follows non-static > declaration > ./include/it.h:163: error: previous declaration of 'charcache' was here > make[4]: *** [draw-char.o] Error 1 > make[4]: Leaving directory `/schism-0.2a/src' > > With the attached patch 'schism' can be compiled > on amd64 using gcc-4.0.
Hi Simon, with gcc 4.0 as the default compiler in sarge, this bug is now release-critical; do you think you'll have time to upload a fixed version soon? Would you prefer to have someone NMU it? -rob -- A ticket to...nothingness.
signature.asc
Description: Digital signature