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,f473cbaae52e095d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!s16g2000vbp.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Indirect visibility of private part in child packages Date: Thu, 4 Jun 2009 09:33:06 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <77683561-2b21-42c3-8c90-6c08a0c16b99@n21g2000vba.googlegroups.com> <94b5b0e6-eb58-48e7-b140-ed5564e0b344@o14g2000vbo.googlegroups.com> NNTP-Posting-Host: 77.198.58.250 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1244133187 11714 127.0.0.1 (4 Jun 2009 16:33:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Jun 2009 16:33:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s16g2000vbp.googlegroups.com; posting-host=77.198.58.250; 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: g2news2.google.com comp.lang.ada:6257 Date: 2009-06-04T09:33:06-07:00 List-Id: On 4 juin, 18:06, Adam Beneschan wrote: > So the compiler is correct to reject your original program. =A0However, > I think Ludovic's fix (using a type conversion, actually a view > conversion) should work, and it's a compiler bug if that is rejected. I've done an error in my prior : T1_Type(Item).Low_Level_Data finally works fine. By the way, thanks for this clean explanation (and I gonna have a further look at 7.3x)