gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Re: Stack over-run


From: Daniel Bump
Subject: Re: [gnugo-devel] Re: Stack over-run
Date: Tue, 19 Feb 2002 08:31:32 -0800

Gunnar wrote:

> Trevor wrote:
> > Unfortunately, this idiom doesn't work for the TRACE family.
> > The variable argument list can't be passed in.  That is, there
> > is no way to put the "} while (0)" part after the argument
> > list (unless you have variadic macros).
> 
> Right, I forgot about the limitations in this context. The solution
> 
> +#define TRACE  (verbose) && gprintf
> 
> in your patch looks good enough.

This appears to work correctly but generates a lot of
warnings with GCC.

worm.c: In function `make_worms':
worm.c:228: warning: value computed is not used
worm.c:300: warning: value computed is not used
worm.c:338: warning: value computed is not used

               ...

Dan




reply via email to

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