[Top][All Lists]
[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
- [gnugo-devel] Re: Stack over-run, Trevor Morris, 2002/02/14
- Re: [gnugo-devel] Re: Stack over-run, Daniel Bump, 2002/02/14
- Re: [gnugo-devel] Re: Stack over-run, Daniel Bump, 2002/02/16
- Re: [gnugo-devel] Re: Stack over-run, Trevor Morris, 2002/02/16
- Re: [gnugo-devel] Re: Stack over-run, Daniel Bump, 2002/02/16
- Re: [gnugo-devel] Re: Stack over-run, Gunnar Farneback, 2002/02/16
- Re: [gnugo-devel] Re: Stack over-run, Trevor Morris, 2002/02/16
- Re: [gnugo-devel] Re: Stack over-run, Gunnar Farneback, 2002/02/17
- Re: [gnugo-devel] Re: Stack over-run,
Daniel Bump <=
- Re: [gnugo-devel] Re: Stack over-run, Dave Denholm, 2002/02/19
- Re: [gnugo-devel] Re: Stack over-run, Daniel Bump, 2002/02/19