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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!matrix.darkstorm.co.uk!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2013 bug? Date: Mon, 12 Aug 2013 15:12:51 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <19fr4wmxmen$.gjbias2fj461$.dlg@40tude.net> <1pe6z4dg2xk9j$.1wdn31ijaldz3.dlg@40tude.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1376338372 21366 69.95.181.76 (12 Aug 2013 20:12:52 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 12 Aug 2013 20:12:52 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:16834 Date: 2013-08-12T15:12:51-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:k71biho5pjg7.16zreugtnwyc6$.dlg@40tude.net... > On Fri, 09 Aug 2013 16:04:02 -0400, Robert A Duff wrote: ... > BTW, why Ada 2005 used incompatible null-exclusion instead of compatible > null-permission, e.g. > > procedure P (X : null or access T); -- I accept null > > or something like that? Because that would make the syntax for named access and anonymous access different, or would simply move the incompatibility to named access types. The difference between the default behavior for anonymous and named access in Ada 95 was unjustifiable once we had null exclusions. That meant we had to break something, and the least painful was the implicit "not null" on controlling access parameters (something best avoided anyway, IMHO). Randy.