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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Position of "use" Date: Tue, 15 Jul 2014 19:47:18 +0200 Organization: A noiseless patient Spider Message-ID: References: <53c4d9ec$0$6658$9b4e6d93@newsspool3.arcor-online.net> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 15 Jul 2014 17:47:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="30058"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rXSgr47LWakGIoWCLDVBAHPrEF9YJIrw=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Cancel-Lock: sha1:SIfSxdKBBlXNPLKJhG2Ho7xts4g= Xref: number.nntp.dca.giganews.com comp.lang.ada:187597 Date: 2014-07-15T19:47:18+02:00 List-Id: On 15.07.14 19:01, Simon Wright wrote: > But, in Ada83, a*pragma*'s scope extended over the whole compilation > (all the compilation units). > > GNAT (gnatchop) doesn't seem to support this; the modern equivalent > would be configuration pragmas, ARM 10.1.5(1)[1]. There's 8.2 Operating gnatchop in Compilation Mode in the User's Guide saying gnatchop prepends configuration pragmas to all chopped files if run in this mode. $ gnatchop -h -c compilation mode, configuration pragmas follow RM rules