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,8dc50f1b24590126 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: visibility of private incomplete types Date: Sat, 30 Oct 2004 00:36:52 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <4180fb61$0$20941$9b4e6d93@newsread2.arcor-online.net> <4181108a_1@baen1673807.greenlnk.net> <9NWdnRZle_mB7RzcRVn-uQ@megapath.net> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1099096612 25040 134.91.1.34 (30 Oct 2004 00:36:52 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Sat, 30 Oct 2004 00:36:52 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:5896 Date: 2004-10-30T00:36:52+00:00 List-Id: Randy Brukardt wrote: : "Martin Dowie" wrote in message : news:4181108a_1@baen1673807.greenlnk.net... :> Georg Bauhaus wrote: :> > is GNAT correct in compiling the following program :> > without complaints? (There is a complaint if the :> > function in the body of P is uncommented.) :> :> No - according to ObjectAda v 7.2.2 : : Right, because the outer private part doesn't have visibility on the private : part of Inner. Only the body of Inner should be able to see TI. Thanks. (PR #18227)