Computer Chess Club Archives


Search

Terms

Messages

Subject: This really works now. Thank you!

Author: Andrey Popov

Date: 06:35:10 06/22/05

Go up one level in this thread


On June 22, 2005 at 09:09:05, P L Patodia wrote:

>On June 22, 2005 at 07:42:53, Andrey Popov wrote:
>
>>On June 22, 2005 at 05:49:49, milix wrote:
>>
>>>On June 22, 2005 at 05:39:13, Andrey Popov wrote:
>>>
>>>>When I tried to compile Fruit 2.1, I found the following error:
>>>>c:\frusrc\material.cpp(137) : error C2061: syntax error : identifier 'key'
>>>>
>>>>entry = &Material->table[KEY_INDEX(key)&Material->mask];//error line 137
>>>
>>>What is the definition of the (macro?) KEY_INDEX?
>>
>>#define KEY_INDEX(key) (uint32(key))
>
>Change the definition as follows:
>#define KEY_INDEX(key) ((uint32)(key))
>
>I hope it should work.

This really works now. Thank you!




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.