comp.lang.ada
 help / color / mirror / Atom feed
From: Graeme Perkes <graeme.perkes@sydney.gecm.com>
Subject: Re: Creation of storage pools
Date: 1999/06/07
Date: 1999-06-07T01:02:28+00:00	[thread overview]
Message-ID: <375B1A89.53E3@sydney.gecm.com> (raw)
In-Reply-To: x7vemjri42j.fsf@pogner.moho

Simon Wright wrote:
> 
> Writing this works:
> 
>   with Pools;
> 
>   procedure Use_Pools is
>     P : Pools.User_Pool renames Pools.My_Pool.all;
>     type Int_Acc is access Integer;
>     for Int_Acc'Storage_Pool use P;
>   begin
>     null;
>   end Use_Pools;
> 
> Looks like time to submit a report (Graeme, I guess you _are_
> supported? since you're using 3.11b2?)

Thanks for the advice. I was able to apply the above "hack"
successfully.

Is "for X'Storage_Pool use MY_Pool.all" really a GNAT bug? The
wording in RM95 13.11(15) indicates that a variable _name_ is
required.
                                                    
How do other compilers respond to the syntax I was trying to use?

Regards,
-- 
Graeme Perkes                        GEC Marconi Systems Pty Limited
mailto:graeme.perkes@gecms.com.au    40-52 Talavera Road, North Ryde
Tel: +61 2 9855 8961                 NSW 2113 Australia
Fax: +61 2 9855 8884




  reply	other threads:[~1999-06-07  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-26  0:00 Creation of storage pools Graeme Perkes
1999-06-04  0:00 ` Matthew Heaney
1999-06-04  0:00   ` Tucker Taft
1999-06-05  0:00 ` Simon Wright
1999-06-07  0:00   ` Graeme Perkes [this message]
1999-06-07  0:00     ` adam
replies disabled

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