comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Generic child unit renaming
Date: 1999/04/22
Date: 1999-04-22T00:00:00+00:00	[thread overview]
Message-ID: <7fnhph$m0c$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7fkvbt$q1r$1@ilana.cenaath.cena.dgac.fr

In article <7fkvbt$q1r$1@ilana.cenaath.cena.dgac.fr>,
  noiraud@cenaath.cena.dgac.fr wrote:
>
>
> I would like to rename Math_Extension an extension of the
> generic package Ada.Numerics.Generic_Elementary_Functions.

My understanding is that users are not allowed to make children of
language-defined units (eg: anything in Ada.*). That would allow you
visibility into the private section of any language-defined unit, which would
allow you to do unspeakable things.

I think Gnat does have a compiler flag to allow you to do it, but unless you
are working on a compiler extension, you probably shouldn't use it.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-04-22  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-21  0:00 Generic child unit renaming noiraud
1999-04-22  0:00 ` dennison [this message]
1999-04-25  0:00   ` Matthew Heaney
1999-04-26  0:00     ` Robert Dewar
replies disabled

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