From: johnjohn@triceratops.com
Subject: Child package: private type and IO
Date: 1998/02/14
Date: 1998-02-14T00:00:00+00:00 [thread overview]
Message-ID: <6c2r0l$iic$1@madmax.keyway.net> (raw)
I'm trying to write two separate packages, one for a private
type and constructor, and the other an IO package. House
rules. :(
The need, obviously, is for the IO package to be able to
access the private type internals, a feature which seems
to be supported via the child package system. It's unclear
to me, however, exactly how a package is declared to be
a child of the original.
Picking up Skansholm's Ada From the Beginning, usually a pretty
good resource, is particularly emptly on package externals (file
extensions, for example).
Actually, now that I say that, Skansholm does have a reference
to naming a child package "PARENT_PKG.CHILD_NAME".
However, using this convention gets me the following compilation
error on the "with" declaration:
file "parent_pkg-child_name.ads" not found
Any tips? Any pointers to a better handling of child packages?
Thanks.
John
next reply other threads:[~1998-02-14 0:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-14 0:00 johnjohn [this message]
1998-02-16 0:00 ` Child package: private type and IO Tom Moran
1998-02-17 0:00 ` sparre
1998-02-27 0:00 ` Matthew Heaney
1998-03-01 0:00 ` type names (was Re: Child package: private type and IO) Ray Blaak
1998-03-01 0:00 ` Matthew Heaney
1998-03-01 0:00 ` Brian Rogoff
1998-03-01 0:00 ` Matthew Heaney
1998-03-03 0:00 ` Ray Blaak
1998-03-04 0:00 ` Fergus Henderson
1998-03-03 0:00 ` Brian Rogoff
1998-03-04 0:00 ` John G. Volan
1998-03-05 0:00 ` Case sensitivity [was Re: type names (was Re: Child package: private type and IO)] Anonymous
1998-03-05 0:00 ` John G. Volan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox