Author: Juan I. Barbosa
Date: 04:38:31 02/20/06
Hello,
I have just downloaded the sources from crafty 20.1. When I try to compile it
(MSVC NET 2003), I get the following error:
utility.c
utility.c(2547) : error C2146: syntax error : missing ')' before identifier 'i64
'
utility.c(2547) : error C2144: syntax error : '<Unknown>' should be preceded by
'<Unknown>'
utility.c(2547) : error C2144: syntax error : '<Unknown>' should be preceded by
'<Unknown>'
utility.c(2547) : error C2143: syntax error : missing ')' before 'identifier'
utility.c(2548) : warning C4552: '<=' : operator has no effect; expected operato
r with side-effect
utility.c(2548) : error C2143: syntax error : missing ';' before ')'
utility.c(2554) : error C2043: illegal break
utility.c(2558) : error C2059: syntax error : 'else'
utility.c(2560) : error C2059: syntax error : '}'
utility.c(2562) : error C2059: syntax error : '}'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
The lines of utility.c:
dwCPU = pSetThreadIdealProcessor(GetCurrentThread(), MAXIMUM_PROCESSORS);
printf("Current ideal CPU is %u\n", dwCPU);
pSetThreadIdealProcessor(GetCurrentThread(), dwCPU);
if ((((DWORD) - 1) != dwCPU) && (MAXIMUM_PROCESSORS != dwCPU) &&
!(ullProcessorMask[0] & (1u i64 << dwCPU))) {
for (ulNode = 1; ulNode <= ulNumaNodes; ulNode++) {
if (ullProcessorMask[ulNode] & (1u i64 << dwCPU)) {
printf("Exchanging nodes 0 and %d\n", ulNode);
ullMask = ullProcessorMask[ulNode];
ullProcessorMask[ulNode] = ullProcessorMask[0];
ullProcessorMask[0] = ullMask;
break;
}
}
}
I'm trying to get an 8-CPUs version to test a new server we had at work. It's a
4 AMD 2'4 GHz Dual core, i'm curious to see how many KNPs it can get :-)
Thanks!
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.