Re: GNAT GPL - Anonymous Access Type
- From: Simon Wright <simon@xxxxxxxxxxxx>
- Date: Wed, 28 Sep 2005 22:31:14 +0100
"Britt Snodgrass" <britt.snodgrass@xxxxxxxxx> writes:
> It works with GNATMAKE Pro 5.04w (20050907-34)
> but not with GNATMAKE Pro 5.03a (20050114-34), both tried with -gnat05,
> so it looks like a recent addition to GNATPRO.
With 4.0.0, I get
grendel:~/cf simon$ gnatgcc -c -gnatc ttt.ads
ttt.ads:5:15: generalized use of anonymous access types is an Ada 2005 extension
ttt.ads:5:15: unit must be compiled with -gnat05 switch
but disappointingly
grendel:~/cf simon$ gnatgcc -c -gnatc -gnat05 ttt.ads
ttt.ads:5:24: type declaration cannot refer to itself
.
- Follow-Ups:
- OT: Re: GNAT GPL - Anonymous Access Type
- From: Martin Dowie
- OT: Re: GNAT GPL - Anonymous Access Type
- References:
- GNAT GPL - Anonymous Access Type
- From: Anh Vo
- Re: GNAT GPL - Anonymous Access Type
- From: Jeffrey R. Carter
- Re: GNAT GPL - Anonymous Access Type
- From: Anh Vo
- Re: GNAT GPL - Anonymous Access Type
- From: Britt Snodgrass
- GNAT GPL - Anonymous Access Type
- Prev by Date: Re: Code completion in ada IDE's
- Next by Date: Re: String filtering
- Previous by thread: Re: GNAT GPL - Anonymous Access Type
- Next by thread: OT: Re: GNAT GPL - Anonymous Access Type
- Index(es):