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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107e1d,aea355e554e5908d X-Google-Attributes: gid107e1d,public X-Google-Thread: 103376,aea355e554e5908d X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Generic child unit renaming Date: 1999/04/22 Message-ID: <7fnhph$m0c$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 469584243 References: <7fkvbt$q1r$1@ilana.cenaath.cena.dgac.fr> X-Http-Proxy: 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Apr 22 16:12:37 1999 GMT Newsgroups: fr.comp.lang.ada,comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-04-22T00:00:00+00:00 List-Id: 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