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.224.7.7 with SMTP id b7mr12736193qab.5.1376067159505; Fri, 09 Aug 2013 09:52:39 -0700 (PDT) X-Received: by 10.182.191.4 with SMTP id gu4mr2171obc.17.1376067158353; Fri, 09 Aug 2013 09:52:38 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!f7no1723837qan.0!news-out.google.com!he10ni1155qab.0!nntp.google.com!fx3no1808377qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 9 Aug 2013 09:52:37 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=RxNzCgoAAACA5KmgtFQuaU-WaH7rjnAO NNTP-Posting-Host: 66.126.103.122 References: <19fr4wmxmen$.gjbias2fj461$.dlg@40tude.net> <72539e4c-dddd-40e4-82e8-14c4f2016ccc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GNAT GPL 2013 bug? From: Adam Beneschan Injection-Date: Fri, 09 Aug 2013 16:52:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2120 Xref: number.nntp.dca.giganews.com comp.lang.ada:182880 Date: 2013-08-09T09:52:37-07:00 List-Id: On Friday, August 9, 2013 9:11:35 AM UTC-7, Simon Wright wrote: =20 > > In some of the examples in your later post (like the one where Q is > > private and the full type is a tagged record), there isn't a problem > > either, since the procedure isn't dispatching. >=20 > So when GNAT says, at the procedure call, that a null value isn't > allowed and that CE will be raised, it's wrong? I just tried it on a case with "type Q is private" [not tagged] and a full = definition "type Q is tagged null record", and I didn't get a warning. In = the example you posted, GNAT is correct to display a warning, but your proc= edure *is* dispatching, and this situation isn't the same as the part of my= post that you quoted. -- Adam