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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,16f6b0f03cbd9c3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-15 19:31:29 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: New, and don't understand the error message! Date: 15 May 2002 19:31:28 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0205151831.4c1908a3@posting.google.com> References: <873cwtxnqv.fsf@CERT.Uni-Stuttgart.DE> NNTP-Posting-Host: 205.232.38.244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1021516289 3999 127.0.0.1 (16 May 2002 02:31:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 16 May 2002 02:31:29 GMT Xref: archiver1.google.com comp.lang.ada:24146 Date: 2002-05-16T02:31:29+00:00 List-Id: Florian Weimer 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).