GNU bug report logs - #43167
28.0.50; Cannot build on MacOS due to -std=c99 change in configure.ac

Previous Next

Package: emacs;

Reported by: Keith Irwin <keith <at> zentrope.com>

Date: Wed, 2 Sep 2020 05:45:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Keith Irwin <keith <at> zentrope.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 43167 <at> debbugs.gnu.org
Subject: Re: bug#43167: 28.0.50; Cannot build on MacOS due to -std=c99 change
 in configure.ac
Date: Thu, 3 Sep 2020 14:04:36 -0700
[Message part 1 (text/plain, inline)]
Works for me!

Thanks. ;)

Regards,
Keith

> On Sep 3, 2020, at 1:58 PM, Alan Third <alan <at> idiocy.org> wrote:
> 
> On Tue, Sep 01, 2020 at 10:44:07PM -0700, Keith Irwin wrote:
>> I’ve been unable to build Emacs from the master branch for the past
>> several days on MacOS (Big Sur). Previously, compiling on Big Sur
>> worked.
>> 
>> I get the following error:
>> 
>> 
>>      CC       fringe.o
>>      CC       image.o
>>      CC       json.o
>>      CC       nsterm.o
>>    In file included from nsterm.m:46:
>>    ./lisp.h:1237:24: error: implicit declaration of function 'typeof' is invalid in
>>          C99 [-Werror,-Wimplicit-function-declaration]
>>      return USE_LSB_TAG ? make_fixnum (n) : XIL (n + (int0 << VALBITS));
> 
> Ah, useful, now GCC won't build without -std=c99, but clang won't
> build WITH it. 🙄
> 
> And the irony is that both versions I have direct access to don't care
> either way.
> 
> Right, I'll have to add a test, I suppose.
> 
> Done, and pushed to master. I've checked it compiles here, but it was
> working anyway, so please give it another go and let us know how it
> goes.
> 
> Thanks!
> -- 
> Alan Third

[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 242 days ago.

Previous Next


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