From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: OpenToken 6.0 released
Date: Mon, 27 Apr 2015 11:43:24 -0500
Date: 2015-04-27T11:43:24-05:00 [thread overview]
Message-ID: <85k2wxbjyr.fsf@stephe-leake.org> (raw)
In-Reply-To: cde9da22-8582-41f3-8747-f07f04aad7e1@googlegroups.com
AdaMagica <christ-usch.grein@t-online.de> writes:
> Am Samstag, 25. April 2015 15:31:42 UTC+2 schrieb Stephen Leake:
>> AdaMagica <christ-usch.grein@t-online.de> writes:
>> > May I propose to add pragma Elaborate_Body to all Recognizer
>> > subpackages? This will prevent any elaboration problems with calling
>> > the Get procedures - otherwise you have to use Elaborate{_All} in
>> > every caller of Get.
>> >
>> > (I see that there is no such pragma e.g. in the Ada Lexer, but I think
>> > it is only a coincidence that elaboration does not fail.)
>>
>> I've never had an elaboration problem when using the default GNAT
>> elaboration algorithm.
>> Are you using another compiler?
>
> Gnat in the standard mode implicitly uses an Elaborate_All, you have
> to use -gnatE (IIRC) to get Ada RM behaviour.
>
> Thus other compilers *might* generate elaboration problems.
> Elaborate_Body (if possible; under certain circumstances, it cannot be
> used) prevents any problems.
I gather the answer to my question is "no, I'm not using another
compiler, but someone else might".
Ok; I'll wait until someone reports an actual problem. I'm not getting
paid for this!
--
-- Stephe
next prev parent reply other threads:[~2015-04-27 16:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-15 8:09 OpenToken 6.0 released Stephen Leake
2015-04-16 22:08 ` Shark8
2015-04-16 22:55 ` Shark8
2015-04-17 9:09 ` AdaMagica
2015-04-20 15:50 ` Stephen Leake
2015-04-24 4:11 ` Shark8
2015-04-21 17:26 ` AdaMagica
2015-04-22 17:55 ` AdaMagica
2015-04-23 12:34 ` Jacob Sparre Andersen
2015-04-24 9:29 ` Stephen Leake
2015-04-24 13:56 ` Using Monotone to access the OpenToken sources (Was: OpenToken 6.0 released) Jacob Sparre Andersen
2015-04-24 18:04 ` Qun-Ying
2015-04-25 13:22 ` Using Monotone to access the OpenToken sources Stephen Leake
2015-04-27 17:18 ` Qun-Ying
2015-04-28 15:36 ` Stephen Leake
2015-04-25 13:25 ` Stephen Leake
2015-04-25 15:59 ` Simon Wright
2015-04-23 15:21 ` OpenToken 6.0 released jan.de.kruyf
2015-04-24 9:37 ` Stephen Leake
2015-04-24 9:46 ` jan.de.kruyf
2015-04-25 13:29 ` Stephen Leake
2015-04-24 13:30 ` Stephen Leake
2015-04-24 15:56 ` AdaMagica
2015-04-25 13:31 ` Stephen Leake
2015-04-25 16:09 ` AdaMagica
2015-04-27 16:43 ` Stephen Leake [this message]
2015-04-28 15:54 ` AdaMagica
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox