comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Problem with emacs ada-mode-7.1.4
Date: Sun, 18 Jul 2021 17:24:07 +0100	[thread overview]
Message-ID: <ly7dhny4ig.fsf@pushface.org> (raw)
In-Reply-To: 71c3d589-fd6f-4b5e-a9f3-394109b1fa05n@googlegroups.com

Paul Onions <ponions37@gmail.com> writes:

> I have one question: was my original problem a bug in the ada-mode
> code or is it a bug in the latest GNAT compiler?  (GCC 11.1.0)

Just had a poke around.

GNAT CE 2019, using the matching gnatcoll-db and gnatcoll-bindings from
the CE download site, worked OK.

CE 2020, with its matching bindings, required the WORKAROUND changes to
build.

CE 2021, with its matching bindings, failed in *exactly the same way* as
FSF GCC 11.1.0!! There was an interesting thread about this at [1]; I'm
not sure from that whether the ada-mode code is OK or not, but it seems
that even if it is we'll have to wait for a later compiler release.

The lesson I'd draw is that building your own container collection is
risky. At least if you start from Ada.Containers you have a reasonably
firm basis.

With regard to "matching bindings" above, these can be found at the CE
download site[2]. Find the compiler release you want the bindings for
(we Mac users are better off going for the x86 GNU Linux (64 bits)
version) and click on the Sources link. For CE 2021, you'll find -core
and -bindings but not -db; I see that I used the v21.0.0 tag from
AdaCore's github repo when I built the binary CE 2021 distribution
you'll find at [3].

[1]
https://groups.google.com/g/comp.lang.ada/c/7dw7Oqi8lIk/m/t6UJkTIHDQAJ
[2] https://www.adacore.com/download/more
[3] https://github.com/simonjwright/distributing-gcc/releases/tag/gnat-ce-2021

  reply	other threads:[~2021-07-18 16:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17  7:56 Problem with emacs ada-mode-7.1.4 Paul Onions
2021-07-17 21:18 ` Simon Wright
2021-07-18  8:43   ` Paul Onions
2021-07-18  9:00     ` Dmitry A. Kazakov
2021-07-18  9:26       ` Paul Onions
2021-07-18 13:28         ` Paul Onions
2021-07-18 16:24           ` Simon Wright [this message]
2021-07-18 19:24             ` Paul Onions
2021-07-19 11:14               ` Simon Wright
2021-07-19 21:17             ` Stephen Leake
2021-07-19 20:57         ` Stephen Leake
2021-07-18 17:03 ` Stephen Leake
2021-07-18 19:36   ` Paul Onions
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox