GNU bug report logs - #35924
26.1; ada-mode 6.1.0 FTBFS with new wavefront compiler: warning: use of an anonymous access type allocator (treated as error)

Previous Next

Packages: ada-mode, emacs;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Mon, 27 May 2019 12:12:02 UTC

Severity: minor

Fixed in version 26.1

Done: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 35924 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 35924 <at> debbugs.gnu.org
Subject: patch to fix
Date: Tue, 04 Jun 2019 08:32:46 -0800
--- wisitoken.ads
+++ wisitoken.ads
@@ -85,7 +85,8 @@ package WisiToken is
 
    Invalid_Token_ID : constant Token_ID := Token_ID'Last;
 
-   type Token_ID_Array_String is array (Token_ID range <>) of access constant String;
+   type String_Access_Constant is access constant String;
+   type Token_ID_Array_String is array (Token_ID range <>) of String_Access_Constant;
    type Token_ID_Array_Natural is array (Token_ID range <>) of Natural;
 
    type Descriptor

-- 
-- Stephe




This bug report was last modified 5 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.