comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: visibility of private incomplete types
Date: Thu, 28 Oct 2004 17:19:34 -0500
Date: 2004-10-28T17:19:34-05:00	[thread overview]
Message-ID: <9NWdnRZle_mB7RzcRVn-uQ@megapath.net> (raw)
In-Reply-To: 4181108a_1@baen1673807.greenlnk.net

"Martin Dowie" <martin.dowie@baesystems.com> 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.

              Randy.







  reply	other threads:[~2004-10-28 22:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28 12:03 visibility of private incomplete types Georg Bauhaus
2004-10-28 15:36 ` Martin Dowie
2004-10-28 22:19   ` Randy Brukardt [this message]
2004-10-29 14:16     ` Nick Roberts
2004-10-29 15:33       ` Frank J. Lhota
2004-10-30  3:13         ` Nick Roberts
2004-11-01  0:40           ` Dr. Adrian Wrigley
2004-12-09 21:21             ` Lionel Draghi
2004-12-10  4:06               ` Alexander E. Kopilovich
2004-12-10  9:23               ` Martin Krischik
2004-10-30  0:36     ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox