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.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a37:2d04:: with SMTP id t4mr14355100qkh.160.1626508590417; Sat, 17 Jul 2021 00:56:30 -0700 (PDT) X-Received: by 2002:a25:ae25:: with SMTP id a37mr18937817ybj.253.1626508590249; Sat, 17 Jul 2021 00:56:30 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 17 Jul 2021 00:56:29 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=109.180.159.156; posting-account=8KbgxQkAAACJyvtPg84oL23eOX_jDVUP NNTP-Posting-Host: 109.180.159.156 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4e943274-59ad-497d-9ef1-5f5d096aea56n@googlegroups.com> Subject: Problem with emacs ada-mode-7.1.4 From: Paul Onions Injection-Date: Sat, 17 Jul 2021 07:56:30 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62401 List-Id: Hello All, Not sure if this is the right place to post this, 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:- ... Compile [Ada] ada_mode_wisi_lalr_parse.ads [Ada] ada_mode_wisi_lr1_parse.ads [Ada] run_ada_lalr_parse.ads [Ada] run_ada_lr1_parse.ads [Ada] gpr_mode_wisi_parse.ads [Ada] run_gpr_parse.ads [Ada] gpr_query.adb [C] wisitoken_grammar_re2c.c sal-gen_unbounded_definite_vectors.adb:452:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:454:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:456:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:474:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:476:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:478:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:532:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:534:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:543:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:545:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:552:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:554:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:561:10: access discriminant in return object would be a dangling reference sal-gen_unbounded_definite_vectors.adb:563:10: access discriminant in return object would be a dangling reference ... I'm using GCC 11.1.0 from the download at https://github.com/simonjwright/building-gcc-macos-native, on macOS Big Sur. Any help appreciated. Thanks, Paul