From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62792: Emacs 29.0.90 build fails Date: Wed, 12 Apr 2023 18:33:11 +0300 Message-ID: <83bkjt6rpk.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9546"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62792@debbugs.gnu.org To: Tak Ota Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 17:34:21 2023 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 1pmcUG-0002C2-EX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 17:34:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmcTx-0007b2-Fk; Wed, 12 Apr 2023 11:34:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcT2-00071M-Ba for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:33:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmcT1-0007JK-Ba for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmcT0-000510-6C for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62792 X-GNU-PR-Package: emacs Original-Received: via spool by 62792-submit@debbugs.gnu.org id=B62792.168131356619238 (code B ref 62792); Wed, 12 Apr 2023 15:33:02 +0000 Original-Received: (at 62792) by debbugs.gnu.org; 12 Apr 2023 15:32:46 +0000 Original-Received: from localhost ([127.0.0.1]:40833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcSj-00050E-Mo for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:32:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcSf-0004zx-Ph for 62792@debbugs.gnu.org; Wed, 12 Apr 2023 11:32:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcSY-0006wG-7E; Wed, 12 Apr 2023 11:32:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YZazGoj3zfvL26SsO0gPApOAadw99hcyPpToaLqSbmA=; b=C2GYLIw4EUih vwX3FaPtQ6z3DWz8Tbq85aeF8qG1ENPoZeFX11vpTDVYgBj5cCBypiqniN/IJf+aFCqdtx1OiYQ+a mlmMlOGzNWJGNw593DZ/dVx6rQvoLMm7ZS5+Pn5H9KEz55hMfOJvNPeSEhXRffl+xiClmQVo+QQQX eJxyP7dAfF5F9SYTIt+oxW3cHsxQuAzYLOPN62+GR9CBeBMlxyJyLVrI88BzYh9wzTHmVMUKBfnBc DKaKdUtls/qM2nScSxPRfkFJ6yZs9JSt753MuaNtDBnbDX7ajC3A0xYnFZILLpwWlQlEGD5b4OT5U JL9NrFWTFlRHHYAon6PWJA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcSQ-0003rG-4X; Wed, 12 Apr 2023 11:32:26 -0400 In-Reply-To: (message from Tak Ota on Tue, 11 Apr 2023 11:16:28 -0700) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259768 Archived-At: > From: Tak Ota > Date: Tue, 11 Apr 2023 11:16:28 -0700 > > When attempted to build using MinGW the next section of code in src/w32.c conflicts with the definition > in MinGW/include/wincon.h Thank you for your report. Please show the exact compilation error message you get due to this conflict. I don't see any errors here, and Emacs 29 compiles with MinGW flawlessly here. > This typedef was not in src/w32.c of Emacs 28.2. > > #if _WIN32_WINNT < 0x0501 > typedef struct > { > DWORD nFont; > COORD dwFontSize; > } CONSOLE_FONT_INFO; > #endif Also, which flavor of MinGW and which version are you using? The above should be only visible with _WIN32_WINNT that is smaller than 0x0501, which should not happen with latest MinGW64. And looking at the latest MinGW64 headers, I see the definition of CONSOLE_FONT_INFO structure there that is identical to the above, so how can it conflict?