comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Problem with emacs ada-mode-7.1.4
Date: Sun, 18 Jul 2021 10:03:07 -0700	[thread overview]
Message-ID: <86lf634ks4.fsf@stephe-leake.org> (raw)
In-Reply-To: 4e943274-59ad-497d-9ef1-5f5d096aea56n@googlegroups.com

Paul Onions <ponions37@gmail.com> writes:

> Not sure if this is the right place to post this,

This is ok; the ada-mode mailing list at
https://savannah.nongnu.org/projects/ada-mode/ is better.

> but I have a problem compiling the Ada code after installing ada-mode
> 7.1.4 as a package in Gnu Emacs 27.2.
>
> Specifically, when I cd into ~/.emacs.d/elpa/ada-mode-7.1.4/ and issue
> the command ./build.sh I get the following:-

> sal-gen_unbounded_definite_vectors.adb:452:10: access discriminant in
> return object would be a dangling reference

This is due to a change in your version of GNAT vs the one I tested with
(better dangling reference detection); switch to Community 2020.

> I'm using GCC 11.1.0 from the download at
> https://github.com/simonjwright/building-gcc-macos-native, on macOS
> Big Sur.

Ok.

I have a fix for this in the development version of ada-mode. I didn't
realize this version of GNAT was in FSF gcc yet.

--
-- Stephe

  parent reply	other threads:[~2021-07-18 17:03 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
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 [this message]
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