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!RKN7TKnHC01q0gdg6EhkbQ.user.46.165.242.75.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Gnu Emacs Ada mode 7.1.6 released. Date: Thu, 05 Aug 2021 09:58:08 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <86tukal9h6.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="10547"; posting-host="RKN7TKnHC01q0gdg6EhkbQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:ctYgemuIdlUk7j3oYDXRABsg5k0= Xref: reader02.eternal-september.org comp.lang.ada:62483 List-Id: Fernando Oleo Blanco writes: > I can confirm that it works with GNAT community 2021. It is the first > time I got it working. In my case it didn't: resurrection of old problems, sal-gen_unbounded_definite_stacks.adb:209:07: error: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_stacks.adb:216:07: error: access discriminant in return object would be a dangling reference wisitoken-syntax_trees.ads:620:04: warning: in instantiation at sal-gen_unbounded_definite_vectors.adb:65 [-gnatwv] wisitoken-syntax_trees.ads:620:04: warning: aggregate not fully initialized [-gnatwv] etc etc This is because ada-mode-7.1.6 only "requires" wisi-3.1.3, which was already installed, rather than the latest 3.1.5 ... install 3.1.5, *delete 3.1.3* > However, a couple of comments. I could not use the build.sh script > directly. The line > > WISI_DIR=`ls -d ../wisi*` > > matches everything named wisi. In my case it is the following: > > ../wisi-3.1.5 ../wisitoken-grammar-mode-1.2.0 > ../wisi-3.1.5.signed ../wisitoken-grammar-mode-1.2.0.signed I used WISI_DIR=`ls -d ../wisi* | grep -v signed` but Fernando's suggestion is better, I think