From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cd5a3253b56eb233 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!zen.net.uk!dedekind.zen.co.uk!news-peer-lilac.gradwell.net!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada References: <1127850090.283075.268920@f14g2000cwb.googlegroups.com> <1127936695.196526.113900@g49g2000cwa.googlegroups.com> <1127939001.413684.114410@o13g2000cwo.googlegroups.com> Subject: OT: Re: GNAT GPL - Anonymous Access Type Date: Thu, 29 Sep 2005 09:36:45 +0100 Organization: BAE SYSTEMS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Message-ID: <433ba5ae_1@glkas0286.greenlnk.net> X-Original-NNTP-Posting-Host: glkas0286.greenlnk.net NNTP-Posting-Date: 29 Sep 2005 08:37:44 GMT NNTP-Posting-Host: 20.133.0.1 X-Trace: 1127983064 news.gradwell.net 38039 dnews/20.133.0.1 X-Complaints-To: news-abuse@gradwell.net Xref: g2news1.google.com comp.lang.ada:5265 Date: 2005-09-29T08:37:44+00:00 List-Id: Simon Wright wrote: > "Britt Snodgrass" 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? :-)