OT: Re: GNAT GPL - Anonymous Access Type
- From: "Martin Dowie" <martin.dowie@xxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 09:36:45 +0100
Simon Wright wrote:
> "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
"grendel" - marillion fan Simon? or is it the anglo-saxon poetry? :-)
.
- Follow-Ups:
- Re: OT: Re: GNAT GPL - Anonymous Access Type
- From: Simon Wright
- Re: 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
- Re: GNAT GPL - Anonymous Access Type
- From: Simon Wright
- GNAT GPL - Anonymous Access Type
- Prev by Date: Re: Range constraints on subprogram parameters?
- Next by Date: Re: Range constraints on subprogram parameters?
- Previous by thread: Re: GNAT GPL - Anonymous Access Type
- Next by thread: Re: OT: Re: GNAT GPL - Anonymous Access Type
- Index(es):