Re: [Mingw-w64-public] [PATCH] headers: Add the DISPATCHER_CONTEXT_NONVOLREG_ARM64 data type

2025-05-05 Thread Martin Storsjö
On Sat, 3 May 2025, LIU Hao wrote: 在 2025-5-3 03:47, Martin Storsjö 写道: On Fri, 2 May 2025, Biswapriyo Nath wrote: __C89_NAMELESS or DUMMYSTRUCTNAME ? Right, we seem to be using these a bit inconsistently across winnt.h so far. I guess I can add __C89_NAMELESS here too, to make it as well

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-05-05 Thread Martin Storsjö
On Mon, 5 May 2025, Pali Rohár wrote: On Monday 05 May 2025 16:10:54 Martin Storsjö wrote: On Sun, 13 Apr 2025, Pali Rohár wrote: This patch series is fixing stat functions as was discussed in the long email thread "stat, _stat, and _stat64i32 issues (was: dirent changes)". I have not include

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-05-05 Thread Pali Rohár
On Monday 05 May 2025 16:10:54 Martin Storsjö wrote: > On Sun, 13 Apr 2025, Pali Rohár wrote: > > > This patch series is fixing stat functions as was discussed in the long > > email thread "stat, _stat, and _stat64i32 issues (was: dirent changes)". > > I have not included in this patch series Lass

Re: [Mingw-w64-public] [PATCH 2/2] headers: Add new constants in sqlext.h

2025-05-05 Thread LIU Hao
在 2025-5-4 02:38, Biswapriyo Nath 写道: From aa9e3b99f69cee1175ad300fa35805996a09a46d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 3 May 2025 18:32:55 + Subject: [PATCH 2/2] headers: Add new constants in sqlext.h Required for pyodbchttps://github.com/mkleehammer/pyodbc Fixeshttps

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-05-05 Thread Martin Storsjö
On Sun, 13 Apr 2025, Pali Rohár wrote: This patch series is fixing stat functions as was discussed in the long email thread "stat, _stat, and _stat64i32 issues (was: dirent changes)". I have not included in this patch series Lasse's followup changes. In v2 are fixed also ftw and nftw functions

Re: [Mingw-w64-public] [PATCH v2 11/13] crt: Fix POSIX stat() with 32-bit st_size for pre-msvcr100 build

2025-05-05 Thread Martin Storsjö
On Sun, 13 Apr 2025, Pali Rohár wrote: For POSIX stat compatibility, it is not possible to use msvcrt _stat32() or _stat64i32() from crtdll.dll - msvcr100.dll CRT libraries as their implementations do not signal EOVERFLOW error when file size does not fit into the stat's st_size field. Signallin

Re: [Mingw-w64-public] [PATCH v2 09/13] headers: Fix declaration of POSIX stat/fstat and LFS stat64/fstat64 functions

2025-05-05 Thread Martin Storsjö
On Sun, 13 Apr 2025, Pali Rohár wrote: Move LFS defines of stat64/fstat64 from _mingw_stat64.h to sys/stat.h. Move struct stat from _mingw_stat64.h to sys/stat.h. Fix definition of POSIX struct stat to follow both _FILE_OFFSET_BITS and _USE_32BIT_TIME_T settings. Fix declaration of POSIX stat(

Re: [Mingw-w64-public] [PATCH v2 06/13] headers: Add missing _CRTIMP for _fstat64i32/_stat64i32/_wstat64i32 functions

2025-05-05 Thread Martin Storsjö
On Sun, 13 Apr 2025, Pali Rohár wrote: All other _*stat* functions are already marked with _CRTIMP, so add it also for missing 3 functions. --- mingw-w64-headers/crt/sys/stat.h | 6 +++--- mingw-w64-headers/crt/wchar.h| 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ming

Re: [Mingw-w64-public] [PATCH v2 02/13] crt: Fix mingw-w64 emulation of _fstat64i32, _stat64i32 and _wstat64i32 functions

2025-05-05 Thread Martin Storsjö
On Sun, 13 Apr 2025, Pali Rohár wrote: All 64-bit CRT import libraries already provides _fstat64i32, _stat64i32 and _wstat64i32 function symbols. These symbols are either directly exported from 64-bit CRT DLL library or def file contains alias to other ABI compatible symbols (_fstat, _stat and _

Re: [Mingw-w64-public] [PATCH 5/5] github: Run test-libcxx on arm too

2025-05-05 Thread Martin Storsjö
On Sat, 3 May 2025, LIU Hao wrote: 在 2025-5-2 21:36, Martin Storsjö 写道: From: Jeremy Drake This requires setting CMAKE_CXX_COMPILER_TARGET manually; the LLVM build system infers the wrong architecture when CMake is an x86_64 binary. (The wrong inferred architecture doesn't affect building lib

Re: [Mingw-w64-public] [PATCH 3/8] crt: Deinline UCRT _vsnwprintf() from wchar.h and define import symbol

2025-05-05 Thread Jacek Caban
On 4.05.2025 23:29, Jacek Caban wrote: On 4.05.2025 11:37, Pali Rohár wrote: Function _vsnwprintf() is already deinlined from stdio.h. Do same in wchar.h and define import symbol. ---   mingw-w64-crt/stdio/ucrt__vsnwprintf.c | 1 +   mingw-w64-headers/crt/wchar.h  | 6 +-   2 files ch