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 10.107.178.212 with SMTP id b203mr5887489iof.51.1516843891384; Wed, 24 Jan 2018 17:31:31 -0800 (PST) X-Received: by 10.157.31.57 with SMTP id x54mr767044otd.1.1516843891280; Wed, 24 Jan 2018 17:31:31 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g80no327062itg.0!news-out.google.com!s63ni4533itb.0!nntp.google.com!g80no327060itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 24 Jan 2018 17:31:30 -0800 (PST) In-Reply-To: <0829e4c2-ea35-4a87-b5b4-330093ac739c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.242.255.128; posting-account=HnYppAoAAAASlROhcvCPTKUZJZdaMc9W NNTP-Posting-Host: 85.242.255.128 References: <3d796e5f-015e-469c-bbcb-edc3303793ab@googlegroups.com> <21d0a0b8-8c66-42fb-9d4a-dc9dbbc33521@googlegroups.com> <0829e4c2-ea35-4a87-b5b4-330093ac739c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <13db4b37-ac2d-497d-b7eb-f2d93462f480@googlegroups.com> Subject: Re: no + or - defined for fixed point types in Standard, why ? From: guyclaude.burger@gmail.com Injection-Date: Thu, 25 Jan 2018 01:31:31 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2351 X-Received-Body-CRC: 3285245739 Xref: reader02.eternal-september.org comp.lang.ada:50129 Date: 2018-01-24T17:31:30-08:00 List-Id: > As I said, you can turn off warnings if it bothers you. I think if you l= ook through the GNAT sources, there are a number of places where they do th= at. As a programming practice, I like it. It says that the programmer kno= ws that the compiler won't like this, but I want to do it anyway. I wouldn't have thought reading that from an Ada user 0_0 I don't think I'm nearly as wise as people who wrote the compiler. Even if = I had been a qualifier programmer, I would think the same and abide by the = conventions as much as I could. I'm too conservative in general to go again= st habits without due reasons or ways to do otherwise. > function Test is > begin if false then return; end if; end Test; >=20 > See what your compiler says about that. it says the first line lacks a "return" statement, which even I can see... = why writing such a thing ? Looks like a piece of C, with its void function,= or whatever they call that. It's raising hairs on my shoulder, really.