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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a3f3d68c001bb08b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: "Limited with" usage Date: Fri, 11 Nov 2005 13:15:45 +0100 Message-ID: <43748B71.8060000@mailinator.com> References: <43747f6f$0$18304$636a15ce@news.free.fr> <437485a1$0$7437$9b4e6d93@newsread4.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net Fb+LaZezBRMTCqUS0pxxdAXdZWxndVwbs98j3HGHdPma4YP6A= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en In-Reply-To: <437485a1$0$7437$9b4e6d93@newsread4.arcor-online.net> Xref: g2news1.google.com comp.lang.ada:6345 Date: 2005-11-11T13:15:45+01:00 List-Id: Georg Bauhaus wrote: > Damien Carbonne wrote: > >> ---------------------------------------- >> limited with B; >> package A is >> end A; >> >> with A; >> package B is >> end B; >> ---------------------------------------- >> >> gcc -c -gnat05 -I- -gnatA /home/damien/dev/tests05/src/a.ads >> a.ads:1:14: circular unit dependency > > >> I would think that there is a GNAT bug. >> Am I right or did I miss something ? > > > The GNAT in GCC 4.1 (FSF GNAT) compiles this without complaint. I'm glad to hear this. I had tested too the limited with feature with similar results in the past, making it almost unusable, but was doubtful about who was wrong, me or gnat. Thanks for the info.