GNU bug report logs - #62792
Emacs 29.0.90 build fails

Previous Next

Package: emacs;

Reported by: Tak Ota <takaaki.ota <at> gmail.com>

Date: Wed, 12 Apr 2023 15:22:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tak Ota <takaaki.ota <at> gmail.com>
Cc: 62792 <at> debbugs.gnu.org
Subject: Re: bug#62792: Emacs 29.0.90 build fails
Date: Wed, 12 Apr 2023 18:33:11 +0300
> From: Tak Ota <takaaki.ota <at> gmail.com>
> 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?




This bug report was last modified 2 years and 40 days ago.

Previous Next


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