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.ams.giganews.com!nntp.giganews.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter 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: Thu, 25 Jul 2013 09:51:13 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <14e47bb4-a838-47f8-8617-eb404679d3af@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 25 Jul 2013 16:44:56 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="68bb7ebc916066bb85146425b2aa8565"; logging-data="3614"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mq+YFfe5uz3qaU7vxGW1g+y+OuosGowM=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <14e47bb4-a838-47f8-8617-eb404679d3af@googlegroups.com> Cancel-Lock: sha1:Hu9J/CJ3hvqyDa1CfQ4Zhzu++58= Xref: number.nntp.dca.giganews.com comp.lang.ada:182672 Date: 2013-07-25T09:51:13-07:00 List-Id: On 07/25/2013 09:26 AM, dontspam365@gmail.com wrote: > > 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:) Best case: You can pull the type definition out of Core_Package and into another pkg with correct categorization, which you then with by both Core_Package and your RCI pkg. Worst case: You cannot modify Core_Package. In this case you'll have to duplicate the type declaration in your RCI pkg (or somewhere else with correct categorization) and convert to/from your type when making remote calls. -- Jeff Carter "I like it when the support group complains that they have insufficient data on mean time to repair bugs in Ada software." Robert I. Eachus 91