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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.45.11 with SMTP id v11mr4804735ota.105.1488149070028; Sun, 26 Feb 2017 14:44:30 -0800 (PST) X-Received: by 10.157.17.114 with SMTP id p47mr809964otp.6.1488149069999; Sun, 26 Feb 2017 14:44:29 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!68no117621itg.0!news-out.google.com!78ni2191itm.0!nntp.google.com!68no117615itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 26 Feb 2017 14:44:29 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2600:8807:a6c0:5:31d3:12d7:d6f3:d4df; posting-account=b0GbAwoAAABU2b-bFrG729pG1wqiQ19f NNTP-Posting-Host: 2600:8807:a6c0:5:31d3:12d7:d6f3:d4df References: <202fe398-a448-4beb-93ad-f93c6be1fea4@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2b543650-4b03-4667-873e-856b999abd4d@googlegroups.com> Subject: Re: Interface Units for Standalone Libraries and units with'ed by the body From: Scott Loyd Injection-Date: Sun, 26 Feb 2017 22:44:30 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:33423 Date: 2017-02-26T14:44:29-08:00 List-Id: > I don't understand. Perhaps you could give a little example of what you > mean? I will try. When I attempted to extract a small standalone example, everyth= ing compiled fine without the error, so now I'm even more confused and not = sure even how to reproduce the problem (Ugh!).=20 The package Handmade contains the only entry points for the library so I wo= uld expect that and any types visible in the exports to be required in the = Library_Interface attribute for the project. However, when I use something = from another package which is not listed in the Library_Interface in the bo= dy of Handmade, I get the error as below: gprbuild handmade.gpr gcc -c -gnat12 -g -gnatwa handmade.adb Error: In library project "Handmade" Unit "Handmade_Random" is not in the interface set but it is needed by the body of "Handmade" gprbuild: incomplete Stand-Alone Library interface [2017-02-26 17:24:27] process exited with status 4, elapsed time: 00.88s A portion of the code is at http://pastebin.com/pg7ppcDj Unfortunately, when I take this code alone and compile it I don't get the e= rror so I don't expect to get a lot of help on this one.