gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Multiple Warnings...


From: Trevor Morris
Subject: Re: [gnugo-devel] Multiple Warnings...
Date: Sat, 16 Feb 2002 15:06:32 -0500

At 03:30 PM 2/16/2002 +0000, Allan Crossman wrote:
>Hi,
>
>I'm getting a high number of warnings (that I've not had before) compiling 
>the current CVS... here they are...
>...
>cache.c:718: warning: suggest explicit braces to avoid ambiguous `else'

Well, VC doesn't compare about this, but here's another option that
avoids making unnecessary variadic TRACE function calls.  Again, the
motivation for this is that the VC profiler claims that a lot of
time was spent in DEBUG function calls, even with debug==0

As a bonus, location_to_string is now more robust - fixing a bug
in the sgf file output.

http://www.public32.com/games/go/trevor_1_26.1
 - alternative non-variadic definition of TRACE & family
 - location_to_string can be used multiple times in same gprintf().

-Trevor





reply via email to

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