comp.lang.ada
 help / color / mirror / Atom feed
From: Ed Falis <efalis@mediaone.net>
Subject: Re: Q: generic children of generic packages?
Date: Mon, 11 Jun 2001 18:41:53 GMT
Date: 2001-06-11T18:41:53+00:00	[thread overview]
Message-ID: <3B251120.597739F@mediaone.net> (raw)
In-Reply-To: vc566e250pw.fsf@grinch.htc.honeywell.com

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




  reply	other threads:[~2001-06-11 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 16:35 Q: generic children of generic packages? Steve Vestal
2001-06-11 17:27 ` Ted Dennison
2001-06-11 18:29   ` Steve Vestal
2001-06-11 18:41     ` Ed Falis [this message]
2001-06-11 18:55     ` Ted Dennison
replies disabled

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