[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Even more warnings :)
From: |
Dave Denholm |
Subject: |
Re: [gnugo-devel] Even more warnings :) |
Date: |
26 Feb 2002 07:21:04 +0000 |
Dave Denholm <address@hidden> writes:
> Daniel Bump <address@hidden> writes:
>
> > > Unlikely that these cause any real trouble.
> > > It looks like I need to back out my changes to the TRACE family
> > > of macros, since we seem unable to avoid these warnings.
> >
>
> If we are still talking about the version
>
> #define TRACE (verbose) && gprintf
>
> then perhaps a compromise might be to make a global dummy variable, and then
> use
>
> dummy = (verbose) && gprintf
>
>
> It adds a little overhead, but much less than a function call.
>
Has anyone tried something like
#define TRACE (verbose == 0) ? (void)0 : gprintf
yet ?
dd
--
address@hidden http://www.insignia.com
Re: [gnugo-devel] Even more warnings :), Daniel Bump, 2002/02/25