emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure building Emacs master on MSYS2 [MSYS2 PKG]


From: Collin Funk
Subject: Re: Failure building Emacs master on MSYS2 [MSYS2 PKG]
Date: Wed, 07 May 2025 15:46:20 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Angelo Graziosi <angelo.g0@libero.it> writes:

> Not a Windows 'native' build but a MSYS2 build whis runs in a terminal
> (TTY). See the subject of my mail [MSYS2 PKG]; this kind of build is
> broken after Gnulib release of April 19. As I wrote, you should run
> the build in a shell were MSYSTEM is MSYS not MINGW64 or UCRT64.

It is hard for me to think of a good solution for this. The reason
<stddef.h> is not included is because the version of GCC that MSYS ships
with has a bug where it cannot be included multiple times (otherwise it
redefines things many times). But without including it wint_t is never
defined which causes the compiler error...

Maybe doing:

    typedef __WINT_TYPE__ wint_t;

exclusively on MSYS2 would fix it. But that is pretty hacky...

Collin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]