From: Stuart on
"Grein, Christoph (Fa. ESG)" <Christoph.Grein(a)eurocopter.com> wrote in
message news:mailman.31.1201682756.3834.comp.lang.ada(a)ada-france.org...
> This is an English news group. Il y a un autre groupe francais.

Well, English speaking ;-)

> Use limited with or use with on the bodies. Depends on your design which
> to use.

As Christoph noted, the solution depends on what the dependency between the
packages is. Generally it is a good idea to post actual code that
demonstrates your problem so that a more precise answer can be given.

To expand on Christoph's information - generally, if the specifications do
not need the other package, place the 'with' on the body. If the
specifications do depend on each other, look very carefully at your design
to check that the circular dependency is justified; if it is [and the nature
of the dependency is restricted to needing the types from the other package]
use "limited with" [new to Ada 05].

The "limited with" is illustrated in the online John Barnes material:
http://www.adaic.org/standards/05rat/html/Rat-1-3-3.html

--
Stuart