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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Simple 4 lines hang code using Ravenscar. Its this a Gnat bug? Date: Fri, 22 Feb 2019 12:55:52 +0000 Organization: A noiseless patient Spider Message-ID: References: <87222ca9-1b35-467c-9560-f44bd59e3e55@googlegroups.com> <77a8c8ac-cb03-43c6-bc95-2bf365df05be@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="9b522a376c82d1b1bce170d560d9935b"; logging-data="1160"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZDdvFpQMTB4992BhlovM64tkSwg9vSsg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:0UX53aCj88997YjqVnTUfu2j68w= sha1:VIwSBDoPIeTeVg9kK0JxiZ5tf1A= Xref: reader01.eternal-september.org comp.lang.ada:55631 Date: 2019-02-22T12:55:52+00:00 List-Id: AdaMagica writes: > pragma Profile is a configuration pragma, and as such it must be > defined (for Gnat) in a special configuration unit. I'm not sure what the rules are, and it's certainly true that putting the configuration pragmas in a special unit (typically, and with gnatmake automatically effective if found, gnat.adc). But, if they're for use in a [GNAT?] configurable runtime, it's best to put them in system.ads so there's no chance of confusion when compiling against the runtime.