From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal 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: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: gnoga build fails on Mac Date: Sun, 21 Jun 2020 16:24:27 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <4bbbd09e-e14f-46f5-a510-bdf0c17eba8fo@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 21 Jun 2020 14:24:27 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="111ac9d93cb39e68eb182fcf6338cb11"; logging-data="31614"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bkMSXZl4JbGCo32VJvEhH9pd2tyy4ZFA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cancel-Lock: sha1:CX0BdE0rKl53DnF0nFnLl6uPpaM= In-Reply-To: <4bbbd09e-e14f-46f5-a510-bdf0c17eba8fo@googlegroups.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:59142 List-Id: On 6/21/20 9:57 AM, Roger wrote: > > First problem with -gnat05 flag which I overcame but probably not the correct way. Certainly not the correct way. Gnoga is in Ada 12 and should not be compiled with an earlier version of the language. Note the --gnat2012 switch in settings.gpr to ensure this. The same functionality could be implemented in earlier versions of Ada, but if you do that, then we can't know if your problems are due to your changes or something else. Compiling Gnoga with --gnat2012 doesn't necessarily mean that you can't compile your code with -gnat05, but again, it makes it harder to understand any problems you may encounter. -- Jeff Carter "Beyond 100,000 lines of code you should probably be coding in Ada." P. J. Plauger 26