From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Keith Irwin Newsgroups: gmane.emacs.bugs Subject: 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-ID: <910D8893-D670-41A2-B6CE-B74D3FAFA365@zentrope.com> References: <75F1FEBD-BFCF-44CB-A2E6-1BAC34D6D4F8@zentrope.com> <04858aa2-3a50-4297-9e34-99310823b982_IMAP_ADDED_MISSING@EDGAR> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_2D9CD943-64B3-4760-9D70-E4D462956D17" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29066"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43167@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 04 00:01:23 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDxII-0007S1-Qs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 00:01:23 +0200 Original-Received: from localhost ([::1]:60052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDxIH-0007f2-Rl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 18:01:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDwPn-0002C1-6P for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDwPm-0008E7-Q9 for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDwPm-0004K0-Jb for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Keith Irwin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2020 21:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43167 X-GNU-PR-Package: emacs Original-Received: via spool by 43167-submit@debbugs.gnu.org id=B43167.159916708516586 (code B ref 43167); Thu, 03 Sep 2020 21:05:02 +0000 Original-Received: (at 43167) by debbugs.gnu.org; 3 Sep 2020 21:04:45 +0000 Original-Received: from localhost ([127.0.0.1]:36330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDwPV-0004JS-Iv for submit@debbugs.gnu.org; Thu, 03 Sep 2020 17:04:45 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:54573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDwPT-0004JF-JG for 43167@debbugs.gnu.org; Thu, 03 Sep 2020 17:04:44 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 53C2D5C00E6; Thu, 3 Sep 2020 17:04:38 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 03 Sep 2020 17:04:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=qxJvf+ 4tKlAhMqk4aMel7jfzEi8osRJ4fSWJ6VvHVLU=; b=Od/HaNNNyaojShMNpP09nl BIxAt032E5RtApQafINlwD6kOIBiyeo7HlGNXdHzw58MiaD9N9b30fuAlzJ3PPjA LaDsytcopxs8pugbAbKajUTJ1Ef44IvURNtUfTdTNnBJ+rsLRZkRrmvSOe7Ee/kH HTTl5OsSGHIC6e3juPte1c2jV6e2D1nbkxuodBCsL2fpJ/eG7K08gnqUCr+c4il7 RtaZphxpmG43IFzRwGlWkhfbFOoz75vagT/IAIcBPqs6RotlgL7v3GBVObe4Q16N V/FNDzcNJWOUksaM+v97Nez+3HPSkhBrxcO1VpTmMfBDt3/B9JmPDwQdETLi1YTA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeguddgudehlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhkfgtggfuffgjvfhfofesrgdtmherhhdtjeenucfhrhhomhepmfgvihht hhcukfhrfihinhcuoehkvghithhhseiivghnthhrohhpvgdrtghomheqnecuggftrfgrth htvghrnhepgeetheekvddtleelhedvtefgleetgffhjefhtddvleeuleelgeehjedvhffg tedvnecukfhppeeljedruddvtddrvdefledruddtnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepkhgvihhthhesiigvnhhtrhhophgvrdgtohhm X-ME-Proxy: Original-Received: from localhost.localdomain (97-120-239-10.ptld.qwest.net [97.120.239.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 706FE306005F; Thu, 3 Sep 2020 17:04:37 -0400 (EDT) In-Reply-To: <04858aa2-3a50-4297-9e34-99310823b982_IMAP_ADDED_MISSING@EDGAR> X-Mailer: Apple Mail (2.3654.0.3.2.26) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187042 Archived-At: --Apple-Mail=_2D9CD943-64B3-4760-9D70-E4D462956D17 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Works for me! Thanks. ;) Regards, Keith > On Sep 3, 2020, at 1:58 PM, Alan Third wrote: >=20 > On Tue, Sep 01, 2020 at 10:44:07PM -0700, Keith Irwin wrote: >> I=E2=80=99ve been unable to build Emacs from the master branch for = the past >> several days on MacOS (Big Sur). Previously, compiling on Big Sur >> worked. >>=20 >> I get the following error: >>=20 >>=20 >> 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)); >=20 > Ah, useful, now GCC won't build without -std=3Dc99, but clang won't > build WITH it. =F0=9F=99=84 >=20 > And the irony is that both versions I have direct access to don't care > either way. >=20 > Right, I'll have to add a test, I suppose. >=20 > 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. >=20 > Thanks! > --=20 > Alan Third --Apple-Mail=_2D9CD943-64B3-4760-9D70-E4D462956D17 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Works= for me!

Thanks. = ;)

Regards,
Keith

On Sep = 3, 2020, at 1:58 PM, Alan Third <alan@idiocy.org> wrote:

On Tue, Sep 01, 2020 at 10:44:07PM -0700, Keith Irwin = wrote:
I=E2=80= =99ve 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=3Dc99, but clang = won't
build WITH = it. =F0=9F=99=84

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

= --Apple-Mail=_2D9CD943-64B3-4760-9D70-E4D462956D17--