comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Annex E and Ada.Strings.Bounded
Date: Sat, 23 Aug 2003 00:54:34 +0100
Date: 2003-08-23T00:54:34+01:00	[thread overview]
Message-ID: <%2y1b.3940$tS2.2323431@newsfep2-win.server.ntli.net> (raw)

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.



             reply	other threads:[~2003-08-22 23:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-22 23:54 Dr. Adrian Wrigley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-23  0:06 Annex E and Ada.Strings.Bounded Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox