[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mingw-w64 build failure
From: |
Óscar Fuentes |
Subject: |
Re: mingw-w64 build failure |
Date: |
Thu, 13 May 2021 14:01:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Richard Copley <rcopley@gmail.com> writes:
> As of this[1] revision of the mingw-w64 headers, building "w32image.o"
> fails with error:
>
> In file included from w32image.c:32:
> w32common.h:45:3: error: expected identifier before numeric constant
> 45 | OS_NT
> | ^~~~~
>
> OS_NT is defined to 1 in "shlwapi.h", condtional on
> !defined(NO_SHLWAPI_ISOS).
>
> [1]
> <https://sourceforge.net/p/mingw-w64/mingw-w64/ci/dc7ef298837d4581200a3bed660aed36818c1b00/>
Which Emacs version? 27.x, right? Eli adapted the Emacs sources to that
change a few days ago, but if you are building from a source tarballs or
from a git release tag...
2021 and some people still didn't learn that system libraries must only
use their reserved namespace.