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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.207.164 with SMTP id n24mr22356040yho.5.1404985802796; Thu, 10 Jul 2014 02:50:02 -0700 (PDT) X-Received: by 10.182.186.34 with SMTP id fh2mr59784obc.21.1404985802680; Thu, 10 Jul 2014 02:50:02 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!m5no657129qaj.1!news-out.google.com!gf2ni4igb.0!nntp.google.com!r10no540667igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 10 Jul 2014 02:50:02 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.7.39.16; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.7.39.16 References: <33fbd821-cb30-4be9-93c1-17002470413e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Position of "use" From: AdaMagica Injection-Date: Thu, 10 Jul 2014 09:50:02 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:20834 Date: 2014-07-10T02:50:02-07:00 List-Id: On Thursday, July 10, 2014 3:27:08 AM UTC+2, an...@att.net wrote: > Actually, the comments for compilation_unit 4 are correct under multiple > compilation_unit type files, which GNAT does not support. It was tested > under AdaEd-1.11.0a compiled for SuSE Linux, before I posted a condensed > version. That sounds quite unbelievable to me; looks like AdaEd has a severe bug - if your claim is correct. > Note: GNAT (Adacore or GNU) does not support multiple > compilation_unit (s) within one file. > > For multiple compilation_unit, likes those files found in ACVC, the > external visibility starts with the "with_clause" and that clause > grants all succeeding compilation_unit(s) access to that package or > routine no matter how many compilation_unit there are. In other words > you only need one "with_clause" for Ada compilers that support multiple > compilation_unit in the same file. Please show us such a file or at least give the reference in ACATS 3.1.