comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: what does preelaborated package mean?
Date: 1999/10/27
Date: 1999-10-27T00:00:00+00:00	[thread overview]
Message-ID: <7v5h5o$toa$1@nnrp1.deja.com> (raw)
In-Reply-To: 38162057.79E96DDC@averstar.com

In article <38162057.79E96DDC@averstar.com>,
  Tucker Taft <stt@averstar.com> wrote:
> The goal of "preelaboration" is to eliminate the need to
execute
> a run-time elaboration routine for the specified package, and
rely
> strictly on the kind of initialization that most
linkers/loaders can
> perform.


Maybe, but it got very confused in the design into serving
multiple purposes, related to distribution and dynamic
elaboration checking.

We added a restriction identifier to GNAT

pragma Restrictions (No_Elaboration_Code);

which achieves what Tuck talks about in a much more direct
manner without getting tied up in these other entanglements.

This pragma is both more and less restrictive than pragma
Preelaborate.


Sent via Deja.com http://www.deja.com/
Before you buy.




      reply	other threads:[~1999-10-27  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-26  0:00 what does preelaborated package mean? mitch
1999-10-26  0:00 ` Matthew Heaney
1999-10-26  0:00   ` Tucker Taft
1999-10-27  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