From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Problems with Mine Detector Game
Date: 07 Nov 2001 10:04:47 +0100
Date: 2001-11-07T09:06:49+00:00 [thread overview]
Message-ID: <uelnbc5ow.fsf@wanadoo.fr> (raw)
In-Reply-To: 3BE89A6E.5C0039D1@acm.org
Jeffrey Carter <jrcarter@acm.org> writes:
> > raised CONSTRAINT_ERROR : field-operations.adb:101
>
> 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 !
> > There is something really weird here... either a corrupted memory or a
> > GNAT bug...
> >
> > What compiler did you use on Windows to build the binary ?
>
> 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.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"
next prev parent reply other threads:[~2001-11-07 9:04 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 [this message]
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
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