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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d679dd7e9c16805a X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!news2!feeder.erje.net!newsfeed-fusi2.netcologne.de!newsreader2.netcologne.de!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 30 Dec 2008 12:37:33 +0100 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Selective suppression of warnings --- gnat on GNU/Linux References: <7a6baa71-80e8-4f3a-80b6-34935bda2fc0@r10g2000prf.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <495a0802$0$32677$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 30 Dec 2008 12:37:38 CET NNTP-Posting-Host: fc313aca.newsspool2.arcor-online.net X-Trace: DXC=6Ej0=EV]NI_1`E>oC;JXEZA9EHlD;3YcR4Fo<]lROoRQ^YC2XCjHcbY`K6_UNLbAAPA:ho7QcPOVSe`cDl?o>2=T`f\mIhP5o0_ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:4093 Date: 2008-12-30T12:37:38+01:00 List-Id: (see below) wrote: > No, the problem is that the Pascal subrange type declarations have been > wrongly translated. The Pascal declaration: > > type somerange = 1..10; > > Means, in Ada: > > SUBtype somerange is Integer range 1..10; > > Make this change and the Ada type compatibility problems will magically > vanish. I can see this is formally true, but wouldn't you loose the valuable distinction that comes from different numeric types?