comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Precondition on protected entry
Date: Wed, 12 Oct 2016 08:19:24 +0100
Date: 2016-10-12T08:19:24+01:00	[thread overview]
Message-ID: <ly1szmhw5f.fsf@pushface.org> (raw)
In-Reply-To: hrtqvbl6neo2copeu1kc45e66is8qcel04@4ax.com

Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:

> On Tue, 11 Oct 2016 18:02:31 +0100, Simon Wright <simon@pushface.org>
> declaimed the following:
>
>>I have this (Ravenscar, STM32F4) code:
>>
> 	<SNIP>
>>      function Running return Boolean;
>>   private
> 	<SNIP>
>>Is this a compiler bug, or is there something in e.g. ARM 6.1.1 that
>>I've missed?
>
> 	Just off the cuff -- does moving the declaration of the function
> to before the preconditions change things?

No, I thought that (note that the precondition of Start_Waiting also
calls the not-yet-declared function Running, and compiles OK).

  reply	other threads:[~2016-10-12  7:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-11 17:02 Precondition on protected entry Simon Wright
2016-10-11 23:37 ` Dennis Lee Bieber
2016-10-12  7:19   ` Simon Wright [this message]
2016-10-12 16:07 ` Stephen Leake
2016-10-12 18:58   ` Simon Wright
2017-01-20 16:54     ` Simon Wright
2017-01-21 17:51       ` 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