[Mingw-w64-public] Consider regenerating autoconf scripts with autoconf 2.72

2024-01-08 Thread Antonin Décimo
Not so long after we updated to autoconf 2.71, a new release sporting bug fixes was cut. https://lists.gnu.org/archive/html/info-gnu/2023-12/msg2.html Using MSYS2 MINGW64 environment, and with an updated install, the scripts can be regenerated from the top directory with WANT_AUTOMAKE=1.16

[Mingw-w64-public] [PATCH] crt: Remove section attributes from declarations

2024-01-08 Thread LIU Hao
-- Best regards, LIU Hao From cd3802aae66bc7c8caaa2cd44473a9e9455ab136 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Mon, 8 Jan 2024 21:58:04 +0800 Subject: [PATCH] crt: Remove section attributes from declarations This patch is generated by sed -Ei '/\/s/\<_CRTALLOC\([^)]+\) +//' $(git grep -

Re: [Mingw-w64-public] [PATCH 4/6] winpthreads: Use GetTickCount64 directly if available

2024-01-08 Thread Martin Storsjö
On Mon, 8 Jan 2024, Antonin Décimo wrote: Thanks for all the pointers! I would have expected that users needed to define _WIN32_WINNT to an old value for these targets. Yes, that's one reasonable point of view - but there seems to be some demand for default toolchain builds to be able to targ

Re: [Mingw-w64-public] [PATCH 4/6] winpthreads: Use GetTickCount64 directly if available

2024-01-08 Thread Antonin Décimo
> > If we're compiling for Windows 6 (Vista, Server 2008) or later, the > > GetTickCount64 [1] function is available. > > Note that MSVC as of version 19.39 doesn't provide > > __attribute__((constructor)), or the __typeof__ extension. > > > > [1]: > > https://learn.microsoft.com/en-us/windows/win