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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ad4:498d:: with SMTP id t13mr7526549qvx.58.1578558350831; Thu, 09 Jan 2020 00:25:50 -0800 (PST) X-Received: by 2002:aca:72cd:: with SMTP id p196mr2088744oic.99.1578558350456; Thu, 09 Jan 2020 00:25:50 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!g89no2658125qtd.0!news-out.google.com!w29ni380qtc.0!nntp.google.com!g89no2658110qtd.0!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 9 Jan 2020 00:25:50 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=87.154.198.78; posting-account=3zVVBwoAAAC7BSMfgNP7DSbqU9urpt40 NNTP-Posting-Host: 87.154.198.78 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: decomposing large packages From: mario.blunk.gplus@gmail.com Injection-Date: Thu, 09 Jan 2020 08:25:50 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57808 Date: 2020-01-09T00:25:50-08:00 List-Id: 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 ...