GNU bug report logs - #63556
29.0.90; Use of _Generic breaks Emacs build on GCC <4.9

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Wed, 17 May 2023 17:39:02 UTC

Severity: normal

Found in version 29.0.90

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Subject: Re: 29.0.90; Use of _Generic breaks Emacs build on GCC <4.9
Date: Wed, 17 May 2023 10:57:38 -0700
[Message part 1 (text/plain, inline)]
On 2023-05-17 10:38, Spencer Baugh wrote:
> I think it's because I'm on gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44),
> and _Generic was added in 4.9?

Thanks for reporting the problem. Since _Generic is used here merely as 
a micro-optimization on 32-bit platforms, it's not worth whatever 
porting hassle you've run into, so I installed the attached patch so 
that modiff no longer uses _Generic.
[0001-Port-modiff-changes-to-GCC-4.8.5.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 2 days ago.

Previous Next


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