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=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!9CzwYWWlKVx8RMZd/VcwFg.user.46.165.242.75.POSTED!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Problem with emacs ada-mode-7.1.4 Date: Sun, 18 Jul 2021 10:03:07 -0700 Organization: Aioe.org NNTP Server Message-ID: <86lf634ks4.fsf@stephe-leake.org> References: <4e943274-59ad-497d-9ef1-5f5d096aea56n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="35357"; posting-host="9CzwYWWlKVx8RMZd/VcwFg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:d0GhtoWiA4s6a22QMnFUfE8o1XI= Xref: reader02.eternal-september.org comp.lang.ada:62408 List-Id: Paul Onions 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