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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: my instansiation of a generic Remote_Call_Interface need a type declared in a package of wrong categorization Date: Fri, 26 Jul 2013 22:31:19 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <14e47bb4-a838-47f8-8617-eb404679d3af@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1374895880 17239 69.95.181.76 (27 Jul 2013 03:31:20 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 27 Jul 2013 03:31:20 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Original-Bytes: 1925 Xref: number.nntp.dca.giganews.com comp.lang.ada:182702 Date: 2013-07-26T22:31:19-05:00 List-Id: wrote in message news:14e47bb4-a838-47f8-8617-eb404679d3af@googlegroups.com... ... > Does it exists some method to "trinkle" Core_Package through to the body > of Test_RCI? I have tried quite a few things to solve this, and I have at > the moment given up:) If -- You're using Ada 2012; -- Core_Package can be preelaborated; and -- You can move the instantiation into the private part of the RCI. Note that you can export the interesting routines from the instance visibly, completing them with appropriate renames, to make the routines visible outside of the RCI. In this case, you can do this. Otherwise, you'll have to follow one of the other suggestions (splitting Core_Package is probably the best idea, if possible). Randy.