bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] GeneralCubeDecisionE & fCubeOwner problem


From: Jaro
Subject: Re: [Bug-gnubg] GeneralCubeDecisionE & fCubeOwner problem
Date: Mon, 2 Jun 2003 13:20:03 -0700

Hi, Øystein

I can not compile dll with GARY_CACHE flag.

eval.c: In function `EvaluatePositionCubeful3':
eval.c:5937: warning: passing arg 2 of `CacheLookup' makes integer from
pointer without a cast
eval.c:5966: structure has no member named `size'
eval.c:5970: warning: passing arg 2 of `CacheAdd' makes integer from pointer
without a cast
eval.c:5970: warning: passing arg 3 of `CacheAdd' makes pointer from integer
without a cast
eval.c:5970: too few arguments to function `CacheAdd'
make.exe: *** [eval.o] Error 1

Well, maybe it wont be hard to fix this problem, but I'm affraid to make
changes if I dont understand source codes well. Maybe it needs only to set
some other "#define" or something.


Jaro.




----- Original Message ----- 
From: "Øystein O Johansen" <address@hidden>
To: "Jaro" <address@hidden>
Cc: "GNU Backgammon" <address@hidden>
Sent: Monday, June 02, 2003 12:40 AM
Subject: Re: [Bug-gnubg] GeneralCubeDecisionE & fCubeOwner problem



About the cube:
fCubeOwner = 0  => Player 0 owns the cube.
fCubeOwner = 1  => Player 1 owns the cube.
fCubeOwner = -1 => Cube centered

> Another question is: What can be wrong if FindBestMove function
> is crashing iwhen I try to find the best move for plies > 0.
> For plies 0 it works w/o any problem.

I have noticed some problems in the cache code, I believe. I couldn't
sort it out, but I believe it was the cache code. That can be the problem.
What happens if you compile with CACHE_GARY ?

-Øystein



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.





reply via email to

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