Computer Chess Club Archives


Search

Terms

Messages

Subject: Solaris 8-10: data types: stronger as Linux and Windows ?

Author: Daniel Mehrmannn

Date: 05:39:07 10/25/05


Hi,

well i found a bug in my engine. I declare the boolean variable "stop_search" in
search.c. I made the error that i call this variable as "extern int stop_search"
from other files.

Interesting:
- No compiler found this error (gcc, icc, vc 6.0  (also solaris))
- On Windows and Linux(!) the engine runs without any problems.

Expect Solaris 8-10 (Sparc) family created a "segmentation fault" at first
access.

How is this possible ? Why other plattforms and compiler ignored this problem ?
I only do a read access of this extern variable.

see here: http://www.homer-chess.com/images/sol9.jpg

Best,
Daniel



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.