From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Problems with Mine Detector Game
Date: Thu, 08 Nov 2001 04:20:50 GMT
Date: 2001-11-08T04:20:50+00:00 [thread overview]
Message-ID: <3BEA0851.17E0C544@acm.org> (raw)
In-Reply-To: uelnbc5ow.fsf@wanadoo.fr
Pascal Obry wrote:
>
> Jeffrey Carter <jrcarter@acm.org> writes:
>
> > This is puzzling. There should be no way that line can raise
> > Constraint_Error.
>
> I understant that. That's why I said it is weird ! The fact is that if I
> output (put_line) the value returned in PragmARC.Universal_Random.Random_Int,
> the exception is not raised and the value seems fine. If I print the value
> returned by this function on the caller side I get 0. Which is not a positive
> hence the exception... So it is either some kind of corrupted memory, a GNAT
> bug, or a build problem on my side !
This does look like a compiler error. I would not expect memory
corruption to always result in zero.
> > The binary was built using GNAT 3.13p and GtkAda 1.3.10 on Win98.
> >
> > FWIW, we have now built Mine_Detector with GtkAda 1.3.12 on Win98 with
> > no problems.
>
> I have tested it on Windows 2000 with GNAT 3.14, 3.15 and GtkAda 1.3.12.
Can you run the pre-built executable?
There are 2 variables here, the compiler version and the Windows
version. Would it be possible for you to obtain GNAT 3.13 and try that?
That could eliminate one of the variables.
--
Jeffrey R. Carter
PragmAda Software Engineering
next prev parent reply other threads:[~2001-11-08 4:20 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-04 22:24 Mine Detector Game Jeffrey Carter
2001-11-04 23:54 ` Michal Nowak
2001-11-05 6:01 ` Al Christians
2001-11-05 11:46 ` Larry Kilgallen
2001-11-05 20:44 ` David Botton
2001-11-05 23:03 ` Larry Kilgallen
2001-11-06 2:09 ` Jeffrey Carter
2001-11-06 2:18 ` Jeffrey Carter
2001-11-05 6:02 ` Jeffrey Carter
2001-11-05 8:42 ` Preben Randhol
2001-11-06 2:17 ` Problems with " Jeffrey Carter
2001-11-06 18:02 ` Preben Randhol
2001-11-06 18:49 ` Pascal Obry
2001-11-06 19:12 ` Pascal Obry
2001-11-07 2:20 ` Jeffrey Carter
2001-11-07 9:04 ` Pascal Obry
2001-11-07 10:50 ` Preben Randhol
2001-11-07 14:01 ` Pascal Obry
2001-11-07 14:18 ` Preben Randhol
2001-11-08 4:20 ` Jeffrey Carter [this message]
2001-11-08 19:52 ` Pascal Obry
2001-11-08 20:42 ` Pascal Obry
2001-11-08 22:29 ` Pascal Obry
2001-11-09 2:06 ` Jeffrey Carter
2001-11-09 14:19 ` Preben Randhol
2001-11-09 17:25 ` Pascal Obry
2001-11-10 4:23 ` Jeffrey Carter
2001-11-10 4:51 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox