On Wed, Dec 22, 2004 at 07:20:14PM +0100, Andreas Jochens said > When building 'gnubg' on amd64 with gcc-4.0, > I get the following error: > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -c gtkprefs.c > gtkprefs.c:48: error: static declaration of 'pwBoard' follows non-static > declaration > backgammon.h:47: error: previous declaration of 'pwBoard' was here > make[3]: *** [gtkprefs.o] Error 1 > make[3]: Leaving directory `/gnubg-0.12' > > With the attached patch 'gnubg' can be compiled > on amd64 using gcc-4.0. This patch includes a fix > which was already necessary for gcc-3.4.
On Mon, Aug 15, 2005 at 03:58:03PM -0700, Matt Kraai said > Package: gnubg > Version: 0.12-4 > Severity: serious > > gnubg fails to build because it contains a label at the end of a > compound statement: > > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/usr/include/gtk-1.2 > > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -c sgf.c > > sgf.c: In function 'RestoreGS': > > sgf.c:283: error: label at end of compound statement Hi Corrin, these bugs have been open for a while now; do you think you'll have time to upload the fix in the near future? Would you like someone to NMU it? -rob -- Banks and banks of humming machinery... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]