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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,cb04cee6116c8ced X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f8g2000yqn.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Package's private parts and protected types Date: Wed, 10 Feb 2010 14:21:01 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <7ff3810f-3ee3-4f39-a54c-933ad7d0655c@36g2000yqu.googlegroups.com> <1v2la97s2yyvd.1rcy0ana8mver.dlg@40tude.net> <3bb38996-47f7-4f30-8255-f011501404b5@b10g2000yqa.googlegroups.com> <4e959c35-34d1-49fb-b1eb-5b298e42610f@z19g2000yqk.googlegroups.com> NNTP-Posting-Host: 86.75.149.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265840462 16348 127.0.0.1 (10 Feb 2010 22:21:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 10 Feb 2010 22:21:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f8g2000yqn.googlegroups.com; posting-host=86.75.149.114; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9099 Date: 2010-02-10T14:21:01-08:00 List-Id: On 10 f=E9v, 17:09, Robert A Duff wrote: > > Remainder of [ARM 6.5(5.2/2)] > > The type of the subtype_indication shall be the result type of the > > function. > > Ah, I see the problem. =A0This is a mistake in the RM, and there's > an AI that fixes it. =A0The real rule is that (in my example) T2 > must be covered by T'Class, which it is. > > Recent versions of GNAT correctly implement this new rule, > but I don't know what version you're using. Ok, I was thinking your way of writing thing was not so silly, but as there was the ARM... My GNAT is GPL 2009 (20090519). I had a look to see if there is an update, but I did not find one (on AdaCore website, its still saying GPL 2009). Do you have a reference for this Ada Issue ? Which number ? About the crash while compiling, I've found a workaround which "solve" it in an acceptable manner, I will open a thread later or tomorrow to tell about it. At the time, I'm facing another trouble, which seems as much strange. Not a crash, but I wonder if either GNAT is wrong of if I did not understood the RM about 9.7.2(3.2/2) and controlling parameters (