Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about VC++6.0 compiler.

Author: Gerd Isenberg

Date: 12:07:05 07/02/03

Go up one level in this thread


On July 02, 2003 at 14:26:10, Normand M. Blais wrote:

>Hi,
>
>I'm modifying my program so it uses the san notation instead of the coordinate's
>when dealing with input/output moves. Everything seems to work fine but,
>sometimes, the release version does not recognize the input (say, e4) and send
>back an illegal move message; while, the debug version (exacly the same source
>code as the released version) accepts the input with no problem. It seems to be
>mystery. In this case, I cannot trust the debug mode to fix bugs that occur only
>in released mode. Had anybody experience something like that with VC++6.0? Any
>idea about what's going on?
>
>Thank you,
>
>NMB

Hi Normand,

most often not proper initialized locals on the stack ( 0xcccc.. in debug mode,
"random" values in release mode). What about a release versions without any
optimization? Use max warning level, try intel c++.

Cheers,
Gerd



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.