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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,268e52cd81f7181c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!postnews.google.com!g13g2000yqj.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: GNAT bug - still in 2010? Date: Mon, 1 Nov 2010 02:23:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: <72807d8e-97a9-4c10-a081-6845aa72fa4e@g13g2000yqj.googlegroups.com> References: <6cebf1a3-3b2a-4e79-a39e-669a6a5ca00c@l20g2000yqm.googlegroups.com> <1c7d78b4-71fc-4c39-99a3-f9dca111b335@26g2000yqv.googlegroups.com> NNTP-Posting-Host: 137.138.182.236 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1288603397 24978 127.0.0.1 (1 Nov 2010 09:23:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 1 Nov 2010 09:23:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g13g2000yqj.googlegroups.com; posting-host=137.138.182.236; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:15091 Date: 2010-11-01T02:23:17-07:00 List-Id: On 31 Pa=C5=BA, 22:24, Maciej Sobczak wrote: > -- =C2=A0a.ads > package A is > =C2=A0 =C2=A0protected type PT is > =C2=A0 =C2=A0end PT; > end A; > > -- =C2=A0b.ads > limited with A; > package B is > =C2=A0 =C2=A0type PT_Ptr is access PT; =C2=A0 -- "PT" is undefined Sorry for the typo, should be of course A.PT and then the compiler says: "PT" not declared in "A" Non-protected types don't have this problem. As already said, this was fixed in recent versions of GNAT. -- Maciej Sobczak * http://www.inspirel.com