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:a37:4dc8:: with SMTP id a191mr8134805qkb.450.1585228388970; Thu, 26 Mar 2020 06:13:08 -0700 (PDT) X-Received: by 2002:a9d:1a3:: with SMTP id e32mr6427936ote.206.1585228388572; Thu, 26 Mar 2020 06:13:08 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer02.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!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 06:13:08 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=178.232.126.10; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 178.232.126.10 References: <2cf70068-45e1-4e39-8ff4-3348f37e63fd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1b1f6d93-b0ce-4fbf-82e4-272beb99fdde@googlegroups.com> Subject: Re: How do I resolve SPARK warning "procedure [...] has no effect for output procedure From: Egil H H Injection-Date: Thu, 26 Mar 2020 13:13:08 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2033 X-Received-Body-CRC: 2235890272 Xref: reader01.eternal-september.org comp.lang.ada:58252 Date: 2020-03-26T06:13:08-07:00 List-Id: 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 proced= ure 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 ei= ther it or its replacement - the current SPARK documentation doesn't seem t= o mention either. In recent versions of GNAT, Ada.Text_IO includes SPARK aspects, like Global= , so I guess that's the replacement for SPARK_IO you're looking for.