bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] predefined board designs


From: Jim Segrave
Subject: Re: [Bug-gnubg] predefined board designs
Date: Sat, 30 Nov 2002 14:30:21 +0100
User-agent: Mutt/1.2.5.1i

On Sat 30 Nov 2002 (12:40 +0100), Achim Mueller wrote:
> I get an error in "set.c" now:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib  -I/usr/include/libxml2 -I./intl
> -DLOCALEDIR=\"/home/ace/local//share/locale\" -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
> -I/usr/kde/3/include/artsc    -g -O2 -c `test -f 'set.c' || echo
> './'`set.c
> set.c: In function `SetRNG':
> set.c:219: `sz' undeclared (first use in this function)
> set.c:219: (Each undeclared identifier is reported only once
> set.c:219: for each function it appears in.)
> make[2]: *** [set.o] Fehler 1
> make[2]: Leaving directory `/home/ace/local/src/gnubg'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/ace/local/src/gnubg'
> make: *** [all] Fehler 2

Mea culpa. I fixed some compiler warnings by putting variable
declarations where the variables are only used in conditionally
compiled code inside #if blocks. I missed the case where HAVE_LIBGGMP
is undefined and HAVE_LIBDL is defined. I've updated set.c so that the
declarations are where they belong (inside {...} blocks in the
conditional code).

-- 
Jim Segrave           address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]