Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Update on VC++6.0 compiler problem

Author: Jens Kahlenberg

Date: 15:31:06 07/04/03

Go up one level in this thread


On July 04, 2003 at 18:07:50, Dieter Buerssner wrote:

>On July 04, 2003 at 16:03:32, Jens Kahlenberg wrote:
>
>>Rule 1: Always regularly test both the Debug and Release mode versions of your
>>applications. (taken from http://www.codeguru.com/debug/ReleaseMode.shtml)
>
>Perhaps an even better rule: use a different compiler. Gcc from the MinGW
>distribution (www.mingw.org) is easy to setup, and not a too big download. And
>it is free. If you don't use inline assembly, the engine source code should
>compile without much problems. To build the executable, one might to have learn
>a bit about makefiles. It might pay out.
>
>Regards,
>Dieter

Hi Dieter,

I follow Rule 1 with _every_ compiler on every system (BTW: MinGW is a good
choice) because i'm used to blow up code with asserts for preconditions /
postconditions / loop-invariants / ... So it's my daily practice, that debug
version (with asserts on) and release version (with asserts off) _both_ should
pass the test parcours before i go on.

Regards,
Jens

P.S.: The whole cygwin stuff with complete toolchain might even pay out.



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.