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,de13c8b74c430de7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-15 19:06:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttln1.wa.home.com.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <9t1lp3$16unne$2@ID-25716.news.dfncis.de> Subject: Re: Inner generic package derivation X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Fri, 16 Nov 2001 03:06:10 GMT NNTP-Posting-Host: 24.248.56.237 X-Complaints-To: abuse@home.net X-Trace: news1.sttln1.wa.home.com 1005879970 24.248.56.237 (Thu, 15 Nov 2001 19:06:10 PST) NNTP-Posting-Date: Thu, 15 Nov 2001 19:06:10 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:16608 Date: 2001-11-16T03:06:10+00:00 List-Id: > > GNAT 3.12p on Windows 95 gives the error: > > premature derivation of derived or private type > > Is this a bug in: (a) GNAT; (b) the RM95; or (c) my brain? That would be (c)... :-) > > Full detailed explanation welcome (if applicable). See RM 3.4(4). You get the same error message with this: package Foo is type T1 is private; type T2 is new T1; private type T1 is null record; end Foo; -- mark