Computer Chess Club Archives


Search

Terms

Messages

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

Author: Jens Kahlenberg

Date: 01:48:34 07/03/03

Go up one level in this thread


On July 03, 2003 at 01:15:11, Normand M. Blais wrote:

>On July 02, 2003 at 21:52:47, Jon Dart wrote:
>
>>If you haven't already done so, I would strongly advise you to install the
>>lastest service pack for VC++ (available from
>>http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/).
>>
>>There are several bugs in the compiler, including some that can cause generation
>>of incorrect code, especially with the optimizer on. The latest service pack
>>seems to fix most of these (I say most because I'm still having to compile some
>>modules with a reduced optimization level).
>>
>>--Jon
>
>Thanks Jon,
>
>I found that if I use optimization for speed the program is broken (in release
>version). But if I change the setting (project menu) to the default
>optimization, the program works (like the debug version). The number of files to
>download prevent me from installing tonight the service pack you mentionned. But
>as soon as I can I will. Another thing: using level 4 and  the debug version, I
>was able to detect a few unsuspected bugs.
>
>Normand

Optimizing is the beginning of all evil ;-)

I read good news from Normand regarding level 4. Most of the debug vs release
"problems" are _not_ compiler-bugs. I already set a link to an article in
codeguru.com. Here's another one (little bit more elaborated):
http://www.codeproject.com/debug/survivereleasever.asp

Have fun in computing and trust your
favored compiler ... or switch it :-)
Jens



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.