comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Elaboration Question
Date: Tue, 06 Jan 2015 10:17:52 +0200
Date: 2015-01-06T10:17:52+02:00	[thread overview]
Message-ID: <ch1k1hFicnqU1@mid.individual.net> (raw)
In-Reply-To: <m8fhha$1ig$1@loke.gir.dk>

On 15-01-06 04:33 , Randy Brukardt wrote:
> "Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message
> news:cgoihuF7sr6U1@mid.individual.net...
> ...
>>> The onus is on the calling code to ensure elaboration happens
>>> correctly.  The best strategy to use from the library-side is to just
>>> make sure all your code is Preelaborate (or Pure), and the problem
>>> solves itself.
>>
>> This advice probably works in practice, but formally speaking, I cannot
>> find a promise in the Ada RM (2012 version) that a Preelaborable library
>> unit is free of elaboration code.
>
> You need to look in Annex C, specifically C.4 Preelaboration Requirements

Ah yes, thanks for the correction. I missed C.4 because I was scanning 
the RM Index for "preelabo", and the only reference to C.4 in the Index 
seems to be for the term "load time".

Kudos to you for making the Index so good that it is my preferred way to 
search for RM info. Demerits to me for not searching in other ways, such 
as by reading the table of contents :-)

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .


  reply	other threads:[~2015-01-06  8:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02  3:27 Elaboration Question Hubert
2015-01-02  7:56 ` Simon Wright
2015-01-02 22:16   ` Randy Brukardt
2015-01-02 14:49 ` Brad Moore
2015-01-02 11:08   ` Mark Lorenzen
2015-01-02 13:35     ` David Botton
2015-01-02 15:11     ` sbelmont700
2015-01-02 21:57       ` Niklas Holsti
2015-01-06  2:33         ` Randy Brukardt
2015-01-06  8:17           ` Niklas Holsti [this message]
2015-01-06 20:06             ` Randy Brukardt
2015-01-03  9:45 ` Jean François Martinez
2015-01-03  9:50   ` Hubert
2015-01-03 18:43     ` Jean François Martinez
2015-01-04  1:57       ` Hubert
2015-01-04 12:05       ` Simon Wright
replies disabled

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