From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: SPARK question Date: Mon, 27 Aug 2018 21:19:40 +0100 Organization: A noiseless patient Spider Message-ID: References: <1ac13606-2603-41d5-b5b7-d7fad27369cf@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="65588c7140446fbadc27455cd9879416"; logging-data="2697"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SBVRhoPOC9ZfJEhAjTKaQ/8ji0gf8lOc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:7jLn3BzLz8cmm3ohdcwF2O1PlgE= sha1:NEB8E2DiBoaaxloH6UT6MK49Q9U= Xref: reader02.eternal-september.org comp.lang.ada:54273 Date: 2018-08-27T21:19:40+01:00 List-Id: Shark8 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.