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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-22 17:54:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Annex E and Ada.Strings.Bounded Newsgroups: comp.lang.ada User-Agent: Pan/0.11.4 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: ALL Message-ID: <%2y1b.3940$tS2.2323431@newsfep2-win.server.ntli.net> Date: Sat, 23 Aug 2003 00:54:34 +0100 NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep2-win.server.ntli.net 1061596475 81.100.88.147 (Sat, 23 Aug 2003 00:54:35 BST) NNTP-Posting-Date: Sat, 23 Aug 2003 00:54:35 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:41810 Date: 2003-08-23T00:54:34+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.