Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How can I fix *tree compiling error (for crafty)

Author: Bo Persson

Date: 09:39:45 11/18/01

Go up one level in this thread


On November 17, 2001 at 07:05:09, Nolan Denson wrote:

>Below is the error I am getting throught this prodject I am trying to do for
>someone.  How do i reference the *tree.
>
>C:\\OLDCrafty\\probe.c(66): remark #869: parameter "tree" was never referenced
>  int EGTBProbe (TREE *tree, int ply, int wtm, int *score) {
>                       ^
>compilation aborted for C:\OLDCrafty\probe.c (code 2)
>Error executing xicl6.exe.

You can silence the warning by removing (or commenting out) the parameter name
"tree". Change it to

int EGTBProbe(TREE*, int ply, etc

and the compiler will stop complaining.

A bigger question is of course: *why* is the parameter unused?!

Bo Persson
bop2@telia.com




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.