comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Elaborate_All on child package
Date: Mon, 05 Sep 2011 11:28:33 +0200
Date: 2011-09-05T11:28:34+02:00	[thread overview]
Message-ID: <4e649642$0$7619$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <c97951be-ca0a-4cac-9212-caf56d16dfad@l2g2000vbn.googlegroups.com>

On 05.09.11 07:21, AdaMagica wrote:

> Other pragmas are Preelaborate, Elaborate_All, Elaborate, Pure. See RM
> 10.2.1 Elaboration Control.

Side note: in order to write better Ada programs when using
GNAT, run the compiler with -gnatl -gnatE every now and then.

Do so and have GNAT tell you about parts of your program that
depend on elaboration order.  (The final executable may not need
the switches.)



  reply	other threads:[~2011-09-05  9:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-03 16:57 Elaborate_All on child package Rego, P.
2011-09-05  5:21 ` AdaMagica
2011-09-05  9:28   ` Georg Bauhaus [this message]
2011-09-10 19:24   ` Rego, P.
2011-09-06  7:05 ` Egil Høvik
2011-09-06 12:51   ` Robert A Duff
2011-09-06 13:46     ` Niklas Holsti
2011-09-06 14:23       ` Robert A Duff
2011-09-07  5:03         ` AdaMagica
2011-09-07 10:49           ` Georg Bauhaus
replies disabled

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