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.236.2.162 with SMTP id 22mr2207310yhf.26.1401627025069; Sun, 01 Jun 2014 05:50:25 -0700 (PDT) X-Received: by 10.140.44.75 with SMTP id f69mr6413qga.11.1401627024907; Sun, 01 Jun 2014 05:50:24 -0700 (PDT) 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!news.glorb.com!hw13no3370794qab.0!news-out.google.com!gi6ni19371igc.0!nntp.google.com!j5no301891qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 1 Jun 2014 05:50:24 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:51:4a18:f04c:7d5b:a91c:7c84:16a7; posting-account=5zx--goAAAD06H29EnWQGKTO-gctuXHl NNTP-Posting-Host: 2003:51:4a18:f04c:7d5b:a91c:7c84:16a7 References: <33e17033-615d-43d4-8b47-9357c8875a10@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Strange error message From: Charly Injection-Date: Sun, 01 Jun 2014 12:50:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:20102 Date: 2014-06-01T05:50:24-07:00 List-Id: Am Sonntag, 1. Juni 2014 13:11:08 UTC+2 schrieb Dmitry A. Kazakov: > On Sun, 1 Jun 2014 03:24:02 -0700 (PDT), Charly wrote: > > You must override Create for High, *always*. > > ......... > > > I believe it was a recent hack (wrongly) added to Ada that you need not to > > override primitive operations returning the tagged type when the derived > > type does not actually extend. I don't know if making that public or > > privately changes anything. You did that privately. > > > > It is an awful idea in any form. You should always override such > > operations, and all out-operations, because inheriting them is a priori > > unsafe. > > > > -- > > Regards, > > Dmitry A. Kazakov > > http://www.dmitry-kazakov.de > -- > > Regards, > > Dmitry A. Kazakov > > http://www.dmitry-kazakov.de Thank you for the rapid answer. I wondered if it is a bug in GNAT. I thought, that I always have to override abstract function and procedures in concrete types and can override concrete functions and procedures only as needed. Charly