Computer Chess Club Archives


Search

Terms

Messages

Subject: For Joshua Haglund (home-compiled-Fruit output problem)

Author: Fabien Letouzey

Date: 00:17:42 03/27/05



Hi Joshua,

Regarding the Fruit output problem,

I could neither reproduce the problem nor find a potential bug in the code.  I
believe something goes wrong with the <stdarg.h> macros, perhaps incompatibility
between the compiler and C runtime library?!  Are you using a 64-bit system?

In any case, I think the problem is related to the send() function in
procotol.cpp.  One thing you could try is to replace all calls to send() with
printf.  Note that you have to append "\n" to each format string (first argument
to send()).

Bear in mind I cannot guarantee that this is going to fix the problem.

To test output, don't use a GUI.  Launch in a console and type "go infinite".
When the problem occurs, the output is completely bogus.

Good luck,

Fabien.




This page took 0.01 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.