Subject: Re: bug#62792: Emacs 29.0.90 build fails

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Apr 2023 19:37:31 +0300

> From: Tak Ota <[email-masked]>
> Date: Wed, 12 Apr 2023 09:18:39 -0700
> Cc: [email-masked]
> 
> This is what I saw.
> 
>   CC       w32fns.o
>   CC       w32menu.o
>   CC       w32reg.o
>   CC       w32font.o
>   CC       w32term.o
>   CC       w32xfns.o
>   CC       w32select.o
>   CC       w32uniscribe.o
>   CC       w32cygwinx.o
>   CC       w32.o
> w32.c:551:3: error: conflicting types for 'CONSOLE_FONT_INFO'
>  } CONSOLE_FONT_INFO;
>    ^
> In file included from c:\mingw\include\windows.h:43:0,
>                  from c:\mingw\include\winsock2.h:22,
>                  from c:/d/pub/emacs/emacs-29.0.90/nt/inc/sys/socket.h:57,
>                  from thread.h:25,
>                  from lisp.h:2268,
>                  from w32.c:98:
> c:\mingw\include\wincon.h:86:3: note: previous declaration of 'CONSOLE_FONT_INFO' was here
>  } CONSOLE_FONT_INFO, *PCONSOLE_FONT_INFO;
>    ^

Please show the definition of CONSOLE_FONT_INFO in your wincon.h, it
should begin a few lines before line 86 of wincon.h.