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:a05:620a:2fc:: with SMTP id a28mr11186697qko.467.1585267520115; Thu, 26 Mar 2020 17:05:20 -0700 (PDT) X-Received: by 2002:aca:62d5:: with SMTP id w204mr2078038oib.119.1585267519707; Thu, 26 Mar 2020 17:05:19 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 26 Mar 2020 17:05:19 -0700 (PDT) In-Reply-To: <1b1f6d93-b0ce-4fbf-82e4-272beb99fdde@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=80.189.116.65; posting-account=7NSrMAoAAACQXGDiUf5Zzn18ZM31fxb5 NNTP-Posting-Host: 80.189.116.65 References: <2cf70068-45e1-4e39-8ff4-3348f37e63fd@googlegroups.com> <1b1f6d93-b0ce-4fbf-82e4-272beb99fdde@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2358bc42-f67d-4af0-a686-97c1d2a547b8@googlegroups.com> Subject: Re: How do I resolve SPARK warning "procedure [...] has no effect for output procedure From: digitig Injection-Date: Fri, 27 Mar 2020 00:05:20 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58257 Date: 2020-03-26T17:05:19-07:00 List-Id: On Thursday, March 26, 2020 at 1:13:10 PM UTC, Egil H H wrote: > On Thursday, March 26, 2020 at 12:56:04 PM UTC+1, digitig wrote: > >=20 > > I've found out how in older versions of SPARK I could annotate the proc= edure to say that it modified global outputs, but that depended on SPARK_Io= , and the documentation on that says it has been replaced and I can't find = either it or its replacement - the current SPARK documentation doesn't seem= to mention either. >=20 > In recent versions of GNAT, Ada.Text_IO includes SPARK aspects, like Glob= al, so I guess that's the replacement for SPARK_IO you're looking for. As simple as that! The thing I was looking for I had all along! Thanks, tha= t's what I needed.