From: mario.blunk.gplus@gmail.com
Subject: Re: decomposing large packages
Date: Thu, 9 Jan 2020 00:25:50 -0800 (PST)
Date: 2020-01-09T00:25:50-08:00 [thread overview]
Message-ID: <e36b4c98-10fb-4012-b0ff-91279919fd1e@googlegroups.com> (raw)
In-Reply-To: <qv50f8$mut$1@gioia.aioe.org>
Thanks Dmitry,
that solves the problem for the moment. When working with subunits, it is not obvious for the newcomer that:
1. the subunit file must be named P-n.adb . Means the same notation must be used as if it where a child unit of P.
2. there is no spec file (P-n.ads) required.
3. in the subunit file P-n.adb there must NOT be an entry like "package body P.n is" (and of course no "end P.n;") as one does in child units.
4. no other procedure or function must exist in P-n.adb .
I wonder why the authors of Ada training books don't point out such things ...
next prev parent reply other threads:[~2020-01-09 8:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 15:56 decomposing large packages mario.blunk.gplus
2020-01-08 16:36 ` Dmitry A. Kazakov
2020-01-09 8:25 ` mario.blunk.gplus [this message]
2020-01-09 8:58 ` Dmitry A. Kazakov
2020-01-09 18:24 ` G. B.
2020-01-10 20:03 ` mario.blunk.gplus
2020-01-08 16:45 ` Simon Wright
2020-01-09 8:28 ` mario.blunk.gplus
2020-01-09 17:43 ` Simon Wright
2020-01-10 20:00 ` mario.blunk.gplus
2020-01-08 21:41 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox