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 a28mr4695953qko.467.1585169323083; Wed, 25 Mar 2020 13:48:43 -0700 (PDT) X-Received: by 2002:a4a:db87:: with SMTP id s7mr2848700oou.38.1585169322702; Wed, 25 Mar 2020 13:48:42 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 25 Mar 2020 13:48:42 -0700 (PDT) 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 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: How do I resolve SPARK warning "procedure [...] has no effect for output procedure From: digitig Injection-Date: Wed, 25 Mar 2020 20:48:43 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58244 Date: 2020-03-25T13:48:42-07:00 List-Id: I'm trying to learn SPARK Ada, and, among other things, I have a procedure = that simply puts a standard message to the screen. SPARK gives me a warning= that the subprogram has no effect; I can see why - it only has the side-ef= fect of printing to the screen. Everything I can see online to deal with th= is is a) *very* old, and b) uses SPARK_Io, which I understand is obsolete (= and which I can't find). So what is the best way to tell SPARK that the pro= cedure just has that side effect? (Hopefully better than `SPARK_mode =3D> O= ff').