comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Got bitten by GNAT.Table
Date: 07 Mar 2001 16:33:56 -0500
Date: 2001-03-07T21:47:53+00:00	[thread overview]
Message-ID: <ur909b6wr.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3AA2F24A.3843E70@France.Sun.COM

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



  parent reply	other threads:[~2001-03-07 21:33 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 [this message]
2001-03-08  4:07                 ` Hervé Bitteur
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox