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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:b250:: with SMTP id h16-v6mr4508468iti.19.1535387974608; Mon, 27 Aug 2018 09:39:34 -0700 (PDT) X-Received: by 2002:aca:2b06:: with SMTP id i6-v6mr310694oik.0.1535387974382; Mon, 27 Aug 2018 09:39:34 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feeder4.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!w19-v6no3644817itb.0!news-out.google.com!c63-v6ni4126ith.0!nntp.google.com!g24-v6no3636018iti.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 27 Aug 2018 09:39:33 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.5.2.21; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.21 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1ac13606-2603-41d5-b5b7-d7fad27369cf@googlegroups.com> Subject: Re: SPARK question From: Shark8 Injection-Date: Mon, 27 Aug 2018 16:39:34 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:54269 Date: 2018-08-27T09:39:33-07:00 List-Id: 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);