Package: amoeba Severity: normal Tags: patch When building 'amoeba' on ppc64 with gcc-4.0, I get the following error:
g++ -Wall -O2 -ffast-math -fstrict-aliasing -fexceptions -g -I. `freetype-config --cflags` `gtk-config --cflags` -Imain -Iopengl -Iaudio -Iimage -Ipacker -Imath -Iutil -c -o opengl/texture.o opengl/texture.cpp opengl/texture.cpp:28: error: non-local variable '<anonymous struct> textures [256]' uses anonymous type make[1]: *** [opengl/texture.o] Error 1 make[1]: Leaving directory `/amoeba-1.1' make: *** [build-stamp] Error 2 With the attached patch 'amoeba' can be compiled on ppc64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/amoeba-1.1/opengl/texture.cpp ./opengl/texture.cpp --- ../tmp-orig/amoeba-1.1/opengl/texture.cpp 2005-01-11 09:37:08.391981880 +0000 +++ ./opengl/texture.cpp 2005-01-11 09:36:02.360035664 +0000 @@ -22,7 +22,7 @@ * and we don't need the extra speed anyhow. :-) besides, it gives * us less init'ing... */ -struct { +static struct { char texname[256]; Texture *tex; } textures[256]; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]