bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] compile: CLI does not compile


From: Nardy Pillards
Subject: Re: [Bug-gnubg] compile: CLI does not compile
Date: Tue, 18 Nov 2003 17:50:47 +0100

On 18 Nov 2003 at 16:00, Jon Kinsey wrote:

> At 15:48 18/11/2003, Nardy Pillards wrote:
> >031117, play.c compile gives:
> >
> >play.c: In function `DiceRolled':
> >play.c:800: `fX' undeclared (first use in this function)
> >play.c:800: (Each undeclared identifier is reported only once
> >play.c:800: for each function it appears in.)
> >
> >win32, with python, with readline
> 
> Looks like this line should be in a #else (USE_GUI) instead of the "if
> (fX)" line.
> 
> Jon
> 
> 

I changed play.c 799 e.a. from:


#endif
        if ( ! fX )
          ShowBoard();

}

to:


#else
          ShowBoard();
#endif

}

Not sure that's really the intention,
but it does compile and refreshes the board


-- 
Louis Nardy Pillards

"It's better to light a candle, than to curse the darkness"





reply via email to

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