Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Visual C++ optimizations

Author: Tom Kerrigan

Date: 19:19:19 05/01/00

Go up one level in this thread


On May 01, 2000 at 22:08:31, Landon Rabern wrote:

>My program runs fine if I compile without the /O2 switch, but when I do it gives
>this error when I run it:  The instruction "0x0040000a" referenced memory at
>"0x00000000", the memory could not be "written".
>
>I am running Windows 2000, could it be a problem with this?  I just switched
>over to windows 2000 before I got MSVC++ 6.0, so I dont know if it works in 98.
>
>Thanks,
>
>Landon W. Rabern

Probably the optimizations are exposing a bug in your program. You should use
the debugger to find out where it's messing up.

-Tom



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.