From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Mon, 09 Aug 2021 14:18:41 -0700 [thread overview]
Message-ID: <86lf5a9v0u.fsf@stephe-leake.org> (raw)
In-Reply-To: lyh7g4f1o8.fsf@pushface.org
Simon Wright <simon@pushface.org> writes:
>
> I got a successful build with macOS GNAT CE 2021. However, using it
> failed with
>
> Execution of /Users/simon/.emacs.d/elpa/ada-mode-7.1.6/gpr_query
> terminated by unhandled exception
> raised PROGRAM_ERROR : gnatcoll-sql_impl.adb:198 accessibility check failed
>
> which is an unfortunate bleeding-edge interaction between the compiler
> and gnatcoll-db:v21.0.0 (there are mutterings in the source at this line
> about "GNAT bug OB03-009").
I tried to attach a patch for that, but nntp.aioe.org says "441 Invalid
Content type" even for text/plain. So I include it inline below; it
applies to the 21.2 release branch of gnatcoll-sql from github AdaCore.
I guess I should have included it in 3.1.8.
> Which version of gnatcoll-db did you use, Fernando? The ada-mode README
> isn't very prescriptive.
ada-mode.info has more detail in the Install section.
-------------- gnatcoll-2021-sql.patch -----------------
--- sql/gnatcoll-sql_impl.adb.orig 2021-05-20 01:25:55.000000000 -0700
+++ sql/gnatcoll-sql_impl.adb 2021-06-21 09:44:09.437292100 -0700
@@ -188,15 +188,9 @@
(Self : Field;
To : in out SQL_Field_List'Class;
Is_Aggregate : in out Boolean)
- is
- FC : access SQL_Field_Internal'Class;
- begin
+ is begin
if not Self.Data.Is_Null then
- -- !!! Could not use Element call result in the
- -- Append_If_Not_Aggregate parameter because of GNAT bug OB03-009
-
- FC := Self.Data.Get.Element;
- Append_If_Not_Aggregate (FC, To, Is_Aggregate);
+ Append_If_Not_Aggregate (Self.Data.Get.Element, To, Is_Aggregate);
end if;
end Append_If_Not_Aggregate;
end Data_Fields;
---------------------------
--
-- Stephe
next prev parent reply other threads:[~2021-08-09 21:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-31 16:43 Gnu Emacs Ada mode 7.1.6 released Stephen Leake
2021-08-05 8:16 ` Fernando Oleo Blanco
2021-08-05 8:58 ` Simon Wright
2021-08-05 10:59 ` Fernando Oleo Blanco
2021-08-07 10:35 ` Simon Wright
2021-08-07 16:47 ` Paul Onions
2021-08-07 17:46 ` Paul Onions
2021-08-12 17:36 ` Stephen Leake
2021-08-05 13:42 ` Simon Wright
2021-08-05 13:51 ` Fernando Oleo Blanco
2021-08-06 22:00 ` Manuel Gomez
2021-08-09 21:18 ` Stephen Leake [this message]
2021-08-09 21:09 ` Stephen Leake
2021-08-09 10:54 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox