From: "Hervé Bitteur" <Herve.Bitteur@France.Sun.COM>
To: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Got bitten by GNAT.Table
Date: Thu, 08 Mar 2001 05:07:56 +0100
Date: 2001-03-08T04:07:10+00:00 [thread overview]
Message-ID: <3AA7059C.383D9322@France.Sun.COM> (raw)
In-Reply-To: ur909b6wr.fsf@gsfc.nasa.gov
Hello Stephe,
I'm using the interface provided by GNAT.Table package. So, yes, I think
it's kind of a bug, even if I more or less understand what is happening
when I resize the array while dereferencing it in the same statement.
I will send it to ACT anyway.
Bye,
-- Herv�
Stephen Leake wrote:
>
> Herv� Bitteur <Herve.Bitteur@France.Sun.COM> writes:
>
> > GNAT.Table is useful to provide dynamically growing arrays.
> > However I recently discovered the reason why I occasionally
> > had other data overwritten, if not access violation errors.
> > Here is a simple test program that you can run from the command line,
> > with just one argument: the upper bound of the loop.
> > <example snipped>
>
> Hi Herve!
>
> GNAT.Table is not implemented in "pure" Ada, so it has some
> restrictions. Be sure to read the spec very carefully. If you believe
> you are following the restrictions, report your bug to report@gnat.com
>
> Or, use sal.poly.unbounded_arrays, from
> http://users.erols.com/leakstan/Stephe/Ada/sal.html. That's a pure Ada
> solution.
>
> --
> -- Stephe
prev parent reply other threads:[~2001-03-08 4:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-02 13:12 GNAT Ada 3.13 + DOS revisted Ashley Collins
2001-03-02 14:34 ` Cesar Rabak
2001-03-02 20:16 ` Randy Brukardt
2001-03-02 21:06 ` Ted Dennison
2001-03-03 1:28 ` Randy Brukardt
2001-03-03 3:28 ` Al Christians
2001-03-03 9:17 ` Gautier de Montmollin
2001-03-03 16:23 ` tmoran
2001-03-04 22:42 ` Gautier de Montmollin
2001-03-04 23:36 ` tmoran
2001-03-05 1:45 ` Al Christians
2001-03-05 3:01 ` tmoran
2001-03-05 1:56 ` Got bitten by GNAT.Table Hervé Bitteur
2001-03-05 12:41 ` Mario Amado Alves
2001-03-07 21:33 ` Stephen Leake
2001-03-08 4:07 ` Hervé Bitteur [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox