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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c69a5ce6b1f93618,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-22 17:06:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newspeer1-gui.server.ntli.net!ntli.net!newsfep4-glfd.server.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Annex E and Ada.Strings.Bounded Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Inktomi-Trace: pc6-cmbg1-6-cust147.cmbg.cable.ntl.com 1061597211 29455 81.100.88.147 (23 Aug 2003 00:06:51 GMT) Message-ID: Date: Sat, 23 Aug 2003 01:06:50 +0100 NNTP-Posting-Host: 62.252.192.4 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep4-glfd.server.ntli.net 1061597211 62.252.192.4 (Sat, 23 Aug 2003 01:06:51 BST) NNTP-Posting-Date: Sat, 23 Aug 2003 01:06:51 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:41808 Date: 2003-08-23T01:06:50+01:00 List-Id: Hi all! A sudden change of requirements (!) means I have to convert some existing code to using a client/server model. I am attempting to use Annex E/GNAT 3.15/GLADE/Linux, but have hit a problem converting the code. The major procedural interface needs "pragma Remote_Call_Interface", but the subprograms declarations use types from Ada.Strings.Bounded The compilation fails with the following message: sdk.ads:2:06: current unit cannot depend on "Bounded" (wrong categorization) Question: Is it possible to use Ada.Strings.Bounded in a RCI? How? It seems a nuisance to write a package that can be used instead - is the basic problem that generic instances are forbidden? (why?) I assume that Reference Manual E2.3.12 applies (?) Thanks for any help on this! -- Dr Adrian Wrigley, Cambridge, England.