comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: New, and don't understand the error message!
Date: 15 May 2002 19:31:28 -0700
Date: 2002-05-16T02:31:29+00:00	[thread overview]
Message-ID: <5ee5b646.0205151831.4c1908a3@posting.google.com> (raw)
In-Reply-To: 873cwtxnqv.fsf@CERT.Uni-Stuttgart.DE

Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> wrote in message news:<873cwtxnqv.fsf@CERT.Uni-Stuttgart.DE>...
> dannywooly@yahoo.co.uk (Danny Woolston) writes:
> 
> > I am really new to ADA and im stuck on a coding cpmplier message, can
> > anyone shed some light on it?
> 
> A tagged type must be declared at the library level.

No that's not true (and would be an unnecessary restriction). Tagged types
can be declared (within a package) at any level of nesting. The important
rule is that you cannot extend from a given tagged type at a deeper level
of accessibility. See the AARM for a discussion of why this rule is
necessary from a safety point of view (avoiding dangling procedure
pointers).



  parent reply	other threads:[~2002-05-16  2:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15 18:34 New, and don't understand the error message! Danny Woolston
2002-05-15 18:35 ` Florian Weimer
2002-05-16  1:58   ` Steve Doiel
2002-05-16  2:47     ` Pat Rogers
2002-05-16  2:31   ` Robert Dewar [this message]
2002-05-16  6:17     ` Florian Weimer
2002-05-16  6:21     ` Florian Weimer
2002-05-16  2:42   ` Pat Rogers
2002-05-16 10:58   ` John English
2002-05-16  2:39 ` Pat Rogers
replies disabled

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