comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-dejanews.com>
Subject: Re: Generic child unit renaming
Date: 1999/04/26
Date: 1999-04-26T00:00:00+00:00	[thread overview]
Message-ID: <7g0adp$347$1@nnrp1.dejanews.com> (raw)
In-Reply-To: m3k8v0mh3n.fsf@mheaney.ni.net

In article <m3k8v0mh3n.fsf@mheaney.ni.net>,
  Matthew Heaney <matthew_heaney@acm.org> wrote:
> But that's my choice to make.  The language, and the
> compiler vendor, should get out of my way.

We constantly run into users who do this sort of thing,
and then yell loudly when their code breaks on a new
release. There is a VERY good reason to prevent this
sort of thing!

Note that the RM specifically allows the implementation
to be restrictive here:

4   The implementation may restrict the replacement of
    language-defined compilation units.  The implementation
    may restrict children of language-defined library units
    (other than Standard).

In GNAT, you must be an implementor to add children to
language defined library units. In particular you have to
obey GNAT style rules and use the -gnatg switch.



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




      reply	other threads:[~1999-04-26  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
1999-04-25  0:00   ` Matthew Heaney
1999-04-26  0:00     ` Robert Dewar [this message]
replies disabled

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