comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: SPARK question
Date: Mon, 27 Aug 2018 21:19:40 +0100
Date: 2018-08-27T21:19:40+01:00	[thread overview]
Message-ID: <lyk1oblfz7.fsf@pushface.org> (raw)
In-Reply-To: 1ac13606-2603-41d5-b5b7-d7fad27369cf@googlegroups.com

Shark8 <onewingedshark@gmail.com> writes:

> On Monday, August 27, 2018 at 8:10:13 AM UTC-6, Simon Wright wrote:
>> With SPARK CE 2018, I'm seeing
>> 
>>    commander.ads:103:08: high: "memory accessed through objects of
>>    access type" must be a global Output of "Commander_Watchdog"
>> 
>> Google tells me nothing, any clues here? (and, obvs, where _should_ I be
>> asking?)
>
> I think it's saying that you need a "Global" aspect on
> "Commander_Watchdog", see
> https://blog.adacore.com/spark-2014-rationale-data-dependencies -- in
> particular:
>
>    procedure Add (X, Y : in Integer) with
>      Global => (Output => Global_Variable);

Yes, but! similar messages say e.g.

   commander.ads:103:08: high: "Current_System_Status" must be a global
   Output of "Commander_Watchdog"

and I can't see any "objects of access type" used in Commander_Watchdog.

  reply	other threads:[~2018-08-27 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27 14:10 SPARK question Simon Wright
2018-08-27 16:39 ` Shark8
2018-08-27 20:19   ` Simon Wright [this message]
2018-08-27 21:36     ` Randy Brukardt
2018-08-28 19:05       ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2013-05-01  8:35 SPARK Question M. Enzmann
2013-05-01 13:35 ` Phil Thornley
2013-05-07  6:59   ` Yannick Duchêne (Hibou57)
2013-05-07  7:54     ` Georg Bauhaus
2013-05-07 20:44       ` Jacob Sparre Andersen news
2013-05-19 18:54         ` phil.clayton
2013-05-20 23:40           ` Randy Brukardt
2013-05-02  5:48 ` M. Enzmann
replies disabled

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