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,7cc62a3e4497b0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-11 11:41:55 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.202!typhoon.ne.mediaone.net.POSTED!not-for-mail Message-ID: <3B251120.597739F@mediaone.net> From: Ed Falis X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Q: generic children of generic packages? References: <%b7V6.4043$pb1.154477@www.newsranger.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 11 Jun 2001 18:41:53 GMT NNTP-Posting-Host: 65.96.132.248 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 992284913 65.96.132.248 (Mon, 11 Jun 2001 14:41:53 EDT) NNTP-Posting-Date: Mon, 11 Jun 2001 14:41:53 EDT Organization: Road Runner Xref: archiver1.google.com comp.lang.ada:8569 Date: 2001-06-11T18:41:53+00:00 List-Id: Steve Vestal wrote: > Here's what I tried, with the error messages included as comments. The > problem seems to occur in the attempt to instantiate the generic child > package. Any suggestions would be most appreciated. > > with Parent; > -- parent-child.ads:5:35: "Generic_Child" not declared in "Parent" > -- Can also try the following, with following results. > --with Parent.Generic_Child; > -- main.adb:2:06: file "parent-generic_child.ads" not found > package Parent.Child is new Parent.Generic_Child; > > Add "with Generic_Parent.Generic_Child;" - Ed