From: "Stuart" <stuart@0.0>
Subject: Re: Probl�me avec des with
Date: Wed, 30 Jan 2008 09:23:11 -0000
Date: 2008-01-30T09:23:11+00:00 [thread overview]
Message-ID: <47a03e19$1_1@glkas0286.greenlnk.net> (raw)
In-Reply-To: mailman.31.1201682756.3834.comp.lang.ada@ada-france.org
"Grein, Christoph (Fa. ESG)" <Christoph.Grein@eurocopter.com> wrote in
message news:mailman.31.1201682756.3834.comp.lang.ada@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
prev parent reply other threads:[~2008-01-30 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 8:45 Problème avec des with Grein, Christoph (Fa. ESG)
2008-01-30 9:23 ` Stuart [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox