From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!TFl9E9FPtgqYQS0i9tziBg.user.46.165.242.91.POSTED!not-for-mail From: Manuel Gomez Newsgroups: comp.lang.ada Subject: Re: Gnu Emacs Ada mode 7.1.6 released. Date: Sat, 7 Aug 2021 00:00:19 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <86tukal9h6.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="44536"; posting-host="TFl9E9FPtgqYQS0i9tziBg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Content-Language: en-GB X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:62487 List-Id: Am 5/8/21 um 15:51 schrieb Fernando Oleo Blanco: > On 05.08.21 15:42, Simon Wright wrote: >> Which version of gnatcoll-db did you use, Fernando? The ada-mode README >> isn't very prescriptive. > > Oh, I forgot to mention this. > > I used the master branch as of two days ago, so 2021/08/03. I thought > about downloading a tagged version, as of that day the 21.0.0. But since > I had already cloned master, I went with it. > > I think this issue is related to this commit, which refers to that GNAT > bug directly: > https://github.com/AdaCore/gnatcoll-db/commit/c75234037fb4568739435fad204f206afe609a77 > > > I am pretty sure it is the culprit. I share my experience, just in case it's useful for anyone. I tried with GNAT CE 2021 and gnatcoll-db 2021, but had problems with that combination. I finally used gnat-9 and gnatcoll packages provided by Ubuntu 20.04, but had to add ".all" for "error: access discriminant in return object..." and remove the option to consider warnings as errors in "standard_common.gpr". Different compiler versions produce different warnings, so that flag might be counterproductive for distribution. The problem with 2021 version might have been the same, not sure about it. Regards