unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Keith Irwin <keith@zentrope.com>
Cc: 43167@debbugs.gnu.org
Subject: bug#43167: 28.0.50; Cannot build on MacOS due to -std=c99 change in configure.ac
Date: Thu, 3 Sep 2020 22:58:30 +0200 (CEST)	[thread overview]
Message-ID: <04858aa2-3a50-4297-9e34-99310823b982_IMAP_ADDED_MISSING@EDGAR> (raw)
In-Reply-To: <75F1FEBD-BFCF-44CB-A2E6-1BAC34D6D4F8@zentrope.com>

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





  reply	other threads:[~2020-09-03 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02  5:44 bug#43167: 28.0.50; Cannot build on MacOS due to -std=c99 change in configure.ac Keith Irwin
2020-09-03 20:58 ` Alan Third [this message]
2020-09-03 21:04   ` Keith Irwin
2020-09-04  6:59   ` Eli Zaretskii
     [not found] <m2pn67j6pd.fsf@breton.holly.idiocy.org>
2020-12-25  6:22 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=04858aa2-3a50-4297-9e34-99310823b982_IMAP_ADDED_MISSING@EDGAR \
    --to=alan@idiocy.org \
    --cc=43167@debbugs.gnu.org \
    --cc=keith@zentrope.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).