Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Nalimov code doesn't work with Forte

Author: David Rasmussen

Date: 01:34:25 01/18/03

Go up one level in this thread


On January 17, 2003 at 22:31:06, Robert Hyatt wrote:

>On January 17, 2003 at 18:54:07, David Rasmussen wrote:
>
>>or whatever Sun calls their compiler these days:
>>
>>CC  -c egtb.cpp
>>"egtb.cpp", line 69: Warning (Anachronism): Attempt to redefine LockInit without
>> using #undef.
>>"egtb.cpp", line 70: Warning (Anachronism): Attempt to redefine Lock without usi
>>ng #undef.
>>"egtb.cpp", line 71: Warning (Anachronism): Attempt to redefine UnLock without u
>>sing #undef.
>>"/usr/include/sys/machtypes.h", line 37: Error: A declaration does not specify a
>> tag or an identifier.
>>"/usr/include/sys/machtypes.h", line 37: Error: Use ";" to terminate declaration
>>s.
>>"/usr/include/sys/machtypes.h", line 37: Error: A declaration does not specify a
>> tag or an identifier.
>>3 Error(s) and 3 Warning(s) detected.
>>make: *** [egtb.o] Error 3
>>
>>What can I do to make it work?
>>
>>/David
>
>
>I assume you are not doing a parallel search.
>
>If not, find the references to those things, and delete them.  IE you
>don't need LockInit, Lock, Unlock, etc...
>
>Make them all "null" like this
>
>#define LockInit()
>
>and that should do it...

I will try that, but the first three warnings are about exactly that. They
redefine those to nothing.

/David



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.