gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] trevor_1_23.4.tar.gz


From: Daniel Bump
Subject: Re: [gnugo-devel] trevor_1_23.4.tar.gz
Date: Sat, 26 Jan 2002 11:45:48 -0800

> >is a device to eliminate compiler warnings. Presumably
> >this statement is discarded when the compiler optimizes.
> >Does defining UNUSED(x) to be x work too?
> 
> Yes, I've seen these type of macros defined as "x;" to supress compiler
> warnings.  Of course, I tested it with the VC compiler, but I can't
> be certain it would work on all platforms; it seems cleaner to me.

With GCC this change causes zillions of warnings.

Dan





reply via email to

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