Package: atomix Version: 1.1-1 Severity: normal Tags: patch When building 'atomix' on amd64/unstable with gcc-4.0, I get the following error:
cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I.. -DORBIT2=1 -pthread -DXTHREADS -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -Wall -Wmissing-prototypes -DDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale\"" -g -Wall -O2 -c goal-view.c goal-view.c: In function 'render_view': goal-view.c:97: error: label at end of compound statement goal-view.c: At top level: goal-view.c:112: warning: no previous prototype for 'goal_view_clear' make[3]: *** [goal-view.o] Error 1 make[3]: Leaving directory `/atomix-1.1/src' With the attached patch 'atomix' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/atomix-1.1/src/goal-view.c ./src/goal-view.c --- ../tmp-orig/atomix-1.1/src/goal-view.c 2005-03-18 23:34:50.000000000 +0100 +++ ./src/goal-view.c 2005-03-28 11:17:33.475479588 +0200 @@ -94,6 +94,7 @@ case TILE_TYPE_WALL: case TILE_TYPE_UNKNOWN: default: + break; } g_object_unref (tile); } diff -urN ../tmp-orig/atomix-1.1/src/level-convert.c ./src/level-convert.c --- ../tmp-orig/atomix-1.1/src/level-convert.c 2005-03-18 23:34:50.000000000 +0100 +++ ./src/level-convert.c 2005-03-28 11:17:55.693313859 +0200 @@ -593,7 +593,6 @@ type_str = "TILE_TYPE_WALL"; break; case TILE_TYPE_FLOOR: type_str = "TILE_TYPE_FLOOR"; break; - default: } if (type_str == NULL) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]