Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: 2M+ nps Crafty (Question for Bob)

Author: Robert Hyatt

Date: 07:25:42 02/27/04

Go up one level in this thread


On February 26, 2004 at 23:55:15, Slater Wold wrote:

>Whenever I use /DUSE_ASSEMBLY /DINLINE_AMD, I get the following error:
>
>Microsoft (R) C/C++ Optimizing Compiler Version 14.00.2207 for AMD64
>Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
>
>x1.c
>c:\c64\inlineamd.h(6) : error C2061: syntax error : identifier 'FirstOne'
>c:\c64\inlineamd.h(6) : error C2059: syntax error : ';'
>c:\c64\inlineamd.h(6) : error C2059: syntax error : 'type'
>c:\c64\inlineamd.h(21) : error C2061: syntax error : identifier 'LastOne'
>c:\c64\inlineamd.h(21) : error C2059: syntax error : ';'
>c:\c64\inlineamd.h(21) : error C2059: syntax error : 'type'
>c:\c64\inlineamd.h(36) : error C2061: syntax error : identifier 'PopCnt'
>c:\c64\inlineamd.h(36) : error C2059: syntax error : ';'
>c:\c64\inlineamd.h(36) : error C2059: syntax error : 'type'
>x1.c(8213) : warning C4028: formal parameter 1 different from declaration
>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>Stop.
>
>
>Any ideas?

Yes, it won't work.  First, there is no /DUSE_ASSEMBLY anywhere in the source
code, so that doesn't do a thing.  /DINLINE_AMD only works for the Intel/GCC
compilers.  Microsoft uses a different inline syntax.  If you have the windows
64 bit MSVC compiler, Crafty has some defines to use the built-in BSF/BSR stuff
automatically, however...




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.