comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Got warnings when overriding Initialize and Finalize
Date: Tue, 14 Jul 2009 10:54:53 -0400
Date: 2009-07-14T10:54:53-04:00	[thread overview]
Message-ID: <wccprc3co1u.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: h38ori$2v7$1@munin.nbi.dk

"Randy Brukardt" <randy@rrsoftware.com> writes:

> "Adam Beneschan" <adam@irvine.com> wrote in message 
> news:16dc507c-4b96-4b53-b46f-2e806f988e6e@h18g2000yqj.googlegroups.com...
>>...But there isn't anything wrong with your
>> original code.
>
> For the record, I agree with Adam. Claw is full of overridings like this; 
> our rule was that overridings should be done in the private part as there is 
> no reason for the client to know whether the routines are overridden or just 
> inherited. Looks like a bogus warning to me (and Adam's explanation makes 
> sense to me, too).

For what it's worth, the latest version of GNAT Pro does not give
these bogus warnings.  I don't know if the fix has made it
into public version(s) yet.

- Bob



      reply	other threads:[~2009-07-14 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 14:16 Got warnings when overriding Initialize and Finalize Hibou57 (Yannick Duchêne)
2009-07-10 15:34 ` Adam Beneschan
2009-07-10 16:12   ` Hibou57 (Yannick Duchêne)
2009-07-11  1:10   ` Randy Brukardt
2009-07-14 14:54     ` Robert A Duff [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox