by juan dela cruz » 03 Nov 2006, 18:50
Tony/David,
Thanks for the tips. Now I could start again my chess engine tests. But prior to this, I also tried compiling the code with MSVC6 C++ with compiler default settings and I get these errors:
--------------------Configuration: xpdnt - Win32 Debug--------------------
Compiling...
think.c
book.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\think.c(550) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
data.c
debug.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\debug.c(240) : warning C4013: 'checkboard' undefined; assuming extern returning int
eval.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(75) : error C2054: expected '(' to follow 'inline'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(76) : error C2085: 'is_white' : not in formal parameter list
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(76) : error C2143: syntax error : missing ';' before '{'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(81) : error C2054: expected '(' to follow 'inline'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(82) : error C2085: 'is_black' : not in formal parameter list
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(82) : error C2143: syntax error : missing ';' before '{'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(95) : warning C4013: 'is_black' undefined; assuming extern returning int
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\eval.c(102) : warning C4013: 'is_white' undefined; assuming extern returning int
full_search.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\full_search.c(487) : warning C4018: '>=' : signed/unsigned mismatch
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\full_search.c(1230) : warning C4018: '==' : signed/unsigned mismatch
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\full_search.c(55) : warning C4101: 'pot_gain' : unreferenced local variable
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\full_search.c(56) : warning C4101: 'ts' : unreferenced local variable
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\full_search.c(39) : warning C4101: 'savepv' : unreferenced local variable
gen.c
hash.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\hash.c(91) : warning C4018: '>' : signed/unsigned mismatch
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\hash.c(121) : warning C4018: '>' : signed/unsigned mismatch
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\hash.c(241) : warning C4244: 'initializing' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\hash.c(253) : warning C4244: 'initializing' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
helper.c
history.c
init.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\history.c(78) : warning C4716: 'hclear' : must return a value
main.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\main.c(795) : warning C4101: 'temp' : unreferenced local variable
move.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\move.c(138) : warning C4013: 'checkmove' undefined; assuming extern returning int
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\move.c(142) : warning C4013: 'checkboard' undefined; assuming extern returning int
pawn_race.c
rand.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(23) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(23) : error C2061: syntax error : identifier 'L'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(23) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(23) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(23) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(24) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(24) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(24) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(24) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(25) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(25) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(25) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(25) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(26) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(26) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(26) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(26) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(27) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(27) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(27) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(27) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(28) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(28) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(28) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(28) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(29) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(29) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(29) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(29) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(30) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(30) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(30) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(30) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(31) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(31) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(31) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(31) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(32) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(32) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(32) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(32) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(33) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(33) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(33) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(33) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(34) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(34) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(34) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(34) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(35) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(35) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(35) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(35) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(36) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(36) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(36) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(36) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(37) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(37) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(37) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(37) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(38) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(38) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(38) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(38) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(40) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(40) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(40) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(40) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(41) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(41) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(41) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(41) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(42) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(42) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(42) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(42) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(43) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(43) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(43) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(43) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(44) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(44) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(44) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(44) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(45) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(45) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(45) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(45) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(46) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(46) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(46) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(46) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(47) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(47) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(47) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(47) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(48) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(48) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(48) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(48) : error C2059: syntax error : 'bad suffix on number'
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\rand.c(48) : fatal error C1003: error count exceeds 100; stopping compilation
runsuite.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\runsuite.c(13) : error C2632: 'long' followed by 'long' is illegal
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\runsuite.c(35) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'long ', possible loss of data
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\runsuite.c(55) : warning C4244: '+=' : conversion from 'unsigned __int64 ' to 'long ', possible loss of data
seval.c
c:\documents and settings\john doe\desktop\ce-new\xpdnt\xpdnt_061030\seval.c(22) : fatal error C1083: Cannot open include file: 'seval.h': No such file or directory
squies.c
C:\Documents and Settings\JOHN DOE\Desktop\CE-NEW\XPDNT\xpdnt_061030\squies.c(311) : warning C4018: '!=' : signed/unsigned mismatch
C:\Documents and Settings\JOHN DOE\Desktop\CE-NEW\XPDNT\xpdnt_061030\squies.c(21) : warning C4101: 'flag' : unreferenced local variable
attack.c
Error executing xicl6.exe.
xpdnt.exe - 111 error(s), 20 warning(s)
----------------------------------------------------------------------------------
I only tried it to test if the source is compiler friendly as the free Fruit chess engine codes.
Juan