[Top][All Lists]

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

Re: [gnugo-devel] version from CVS doesn't compile with MINGW

From: Daniel Bump
Subject: Re: [gnugo-devel] version from CVS doesn't compile with MINGW
Date: Fri, 19 Oct 2001 16:33:58 -0700

> I commented out the following line in the gg_cputime function:
> UNUSED(s);
> Now it compiles and seems to run. I have no idea, though, whether it's
> OK to leave it out.

The UNUSED(s) is just to prevent a compiler warning. 

I think Teun intends to call this function from play_gtp.c
but currently it isn't called. 

It's clear that the UNUSED(s) is a cut-and-paste artifact
and I took it out. It is obviously wrong because there is
no variable 's' in this functions.

I see that Teun's patch:

had a caveat ``autoconf and autoheader must be run'' and this
wasn't done after putting in this patch. I've done that now.

Other removing this unused UNUSED I didn't try to second
guess Teun and made no changes to the cputime in
play_gtp.c. Gunnar had requested that this be moved to


reply via email to

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