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=0.7 required=5.0 tests=BAYES_00,FROM_NUMERIC_TLD, SUBJECT_NEEDS_ENCODING,SUBJ_ILLEGAL_CHARS autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,430b23c423ffac6d X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed.stanford.edu!news.kjsl.com!news-peer-lilac.gradwell.net!not-for-mail From: "Stuart" Newsgroups: comp.lang.ada References: Subject: Re: Probl�me avec des with Date: Wed, 30 Jan 2008 09:23:11 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original Message-ID: <47a03e19$1_1@glkas0286.greenlnk.net> X-Original-NNTP-Posting-Host: glkas0286.greenlnk.net NNTP-Posting-Host: 20.133.0.1 X-Trace: 1201685008 news.gradwell.net 509 dnews/20.133.0.1:17553 X-Complaints-To: news-abuse@gradwell.net Xref: g2news1.google.com comp.lang.ada:19657 Date: 2008-01-30T09:23:11+00:00 List-Id: "Grein, Christoph (Fa. ESG)" 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