comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: "shadow" package hierarchy using renaming of child packages
Date: Mon, 01 Jul 2013 07:46:24 +0200
Date: 2013-07-01T07:46:24+02:00	[thread overview]
Message-ID: <kqr4p9$b3m$1@dont-email.me> (raw)
In-Reply-To: <7f402618-da9e-4c01-85b8-5742a7b89b31@googlegroups.com>

Le 01/07/2013 03:34, Shark8 a écrit :
> On Sunday, June 30, 2013 2:43:59 PM UTC-6, AdaMagica wrote:
>> So was I. But you cannot use a renaming as a parent of a further
>> package. So there is no real way to mix two package trees.
>> 
>> 
>> package Shadow.Child.Grandchild is ... 1:1  parent unit cannot be a
>> renaming
>> 
>> That's at least what GNAT GPL 2013 says. I didn't check what the RM
>> says.
> 
> Is there an ARM section for that? I can't seem to find it if there
> is, and it seems rather an arbitrary limitation, so I'd like to see
> it.
> 
10.1.1(13): The parent unit of a library_item shall be a library package
or generic library package

... and not a library_package_renaming_declaration

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

  reply	other threads:[~2013-07-01  5:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-30  7:00 "shadow" package hierarchy using renaming of child packages Oliver Kellogg
2013-06-30 20:43 ` AdaMagica
2013-07-01  1:34   ` Shark8
2013-07-01  5:46     ` J-P. Rosen [this message]
2013-07-01 16:31       ` Adam Beneschan
2013-07-01  8:29   ` Oliver Kellogg
2013-07-01  9:37     ` AdaMagica
2013-07-01 11:14       ` Oliver Kellogg
2013-07-01  8:21 ` AdaMagica
replies disabled

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