From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yasuhiro Kimura Newsgroups: gmane.emacs.bugs Subject: bug#48303: 28.0.50; Build of master fails on MSYS2 MINGW64 environment Date: Sun, 09 May 2021 20:53:08 +0900 (JST) Message-ID: <20210509.205308.452062450313554935.yasu@utahime.org> References: <20210509.073509.1004193544014965534.yasu@utahime.org> <83lf8o8heo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33845"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48303-done@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 09 13:55:59 2021 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 1lfi2Q-0008g5-TZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 13:55:58 +0200 Original-Received: from localhost ([::1]:47232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfi2P-0007o4-3m for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 07:55:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfi1V-0007nv-TL for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 07:55:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfi1V-0000rU-Lq for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 07:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfi1V-0004lu-Kr for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 07:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yasuhiro Kimura Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2021 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48303 X-GNU-PR-Package: emacs Original-Received: via spool by 48303-done@debbugs.gnu.org id=D48303.162056125918328 (code D ref 48303); Sun, 09 May 2021 11:55:01 +0000 Original-Received: (at 48303-done) by debbugs.gnu.org; 9 May 2021 11:54:19 +0000 Original-Received: from localhost ([127.0.0.1]:55379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfi0p-0004lY-Fh for submit@debbugs.gnu.org; Sun, 09 May 2021 07:54:19 -0400 Original-Received: from gate.home.utahime.org ([183.180.29.210]:63149 helo=maybe.home.utahime.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfi0m-0004lS-ST for 48303-done@debbugs.gnu.org; Sun, 09 May 2021 07:54:18 -0400 Original-Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by maybe.home.utahime.org (Postfix) with ESMTPS id 85F682937A; Sun, 9 May 2021 20:54:12 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1620561252; bh=hpQoEzTr7l1rLcKFe6xSEBdexwZWnB+X1VxexOwPodY=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=WRXlUkfpSu8OLlI+sSPy/3ROENMHdWPWitPqbZ1Ejr4CMOiLWNI8yI0tE6h2KiosJ 7xFXlGHCGdkLnoqKwyxI0oDw4VTNaHQo5bqzigEqUYtPY/dccpGpQagiekN4Lt6izJ 2k5ndf0DnLmW2/MADt+A0OUf4rIjuBjhHQhtCx6IoqKnfTvvaDzxrCUQLLxiUH9M/j gIpJOviUKq+hJJrJndRoXc/dLJaQRNAXHihHrTTOqdEB/dZzaRTXcV4utcIZphVZnX FlLdcN27fy033qwcWr7holVSOk/r/XCIwzFr4CRsd2lIWIsmqyJvFJuARSSRbnpraK ufA9ap51hm5yg== Original-Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id D075523B92; Sun, 9 May 2021 20:54:08 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.2 at eastasia.home.utahime.org In-Reply-To: <83lf8o8heo.fsf@gnu.org> X-Mailer: Mew version 6.8 on Emacs 27.2 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:206073 Archived-At: From: Eli Zaretskii Subject: Re: bug#48303: 28.0.50; Build of master fails on MSYS2 MINGW64 environment Date: Sun, 09 May 2021 11:01:35 +0300 >> Date: Sun, 09 May 2021 07:35:09 +0900 (JST) >> From: Yasuhiro Kimura >> >> In file included from w32image.c:32: >> w32common.h:45:3: error: expected identifier before numeric constant >> 45 | OS_NT >> | ^~~~~ >> make[1]: *** [Makefile:385: w32image.o] Error 1 >> make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/emacs/src' >> make: *** [Makefile:425: src] Error 2 > > That's because w32 API headers now invade on our enumeration. Fixed > on the emacs-27 branch, soon to be merged to master. Thank for information. I cherry-picked 4c3abb3dd1 of emacs-27 to af529f777c of master and confirmed build completes successfully. But after cherry-picking one 'OS_9X' is still left at line 7658 of src/w32term.c. Right now it is commented out with '#if 0 ... #endif'. But to make sure it should also be changed to 'OS_SUBTYPE_9X'.