comp.lang.ada
 help / color / mirror / Atom feed
* Annex E and Ada.Strings.Bounded
@ 2003-08-22 23:54 Dr. Adrian Wrigley
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Adrian Wrigley @ 2003-08-22 23:54 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Annex E and Ada.Strings.Bounded
@ 2003-08-23  0:06 Dr. Adrian Wrigley
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Adrian Wrigley @ 2003-08-23  0:06 UTC (permalink / 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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-23  0:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-23  0:06 Annex E and Ada.Strings.Bounded Dr. Adrian Wrigley
  -- strict thread matches above, loose matches on Subject: below --
2003-08-22 23:54 Dr. Adrian Wrigley

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