Computer Chess Club Archives


Search

Terms

Messages

Subject: Crafty 19.3: "__restrict" in include-file chess.h

Author: Gregor Overney

Date: 21:31:57 09/07/03


I tried to compile Crafty 19.3 with Visual C++ 13.1 and found that __restrict is
no longer available in 13.1. Apparently it was available in 13.0 but got removed
in 13.1.

Is there a new version of Crafty around that fixes chess.h accordingly? I cannot
connect to pub/Hyatt at this point in time.

More about __restrict is at
http://mail.gnu.org/archive/html/bug-gmp/2002-09/msg00017.html

For now changing the following in chess.h fixes this problem:

Previous:
=========
#if defined (_MSC_VER) && (_MSC_VER >= 1300)
#  define RESTRICT __restrict
#else
#  define RESTRICT
#endif

new:
====
#define RESTRICT


But this "fix" might cause problems with IA-64 platforms (?).

Gregor




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.