Re: [Mingw-w64-public] [PATCH] crt: Replace wprintf() by __ms_wprintf() call and use %ls for wchar_t* types

2024-12-17 Thread Martin Storsjö
On Sat, 14 Dec 2024, Pali Rohár wrote: On Tuesday 03 December 2024 16:31:16 Martin Storsjö wrote: On Wed, 27 Nov 2024, Pali Rohár wrote: This ensures that mingwex wprintf implementation will not be used and statically linked when not needed. And also make it more predictable as %ls format is

Re: [Mingw-w64-public] [PATCH 2/3] crt: Define symbols for all __ms_* printf functions for UCRT builds

2024-12-17 Thread Martin Storsjö
On Sat, 14 Dec 2024, Pali Rohár wrote: Ensure that all those __ms_* printf functions calls __stdio_common_* printf functions with compatibility options, as it is required for msvcrt.dll compatibility and also because tchar.h macros depends on that old legacy behavior. For compatibility call __s

Re: [Mingw-w64-public] [PATCH 2/3] crt: Define symbols for all __ms_* printf functions for UCRT builds

2024-12-17 Thread Pali Rohár
On Tuesday 17 December 2024 15:29:38 Martin Storsjö wrote: > On Sat, 14 Dec 2024, Pali Rohár wrote: > > > Ensure that all those __ms_* printf functions calls __stdio_common_* printf > > functions with compatibility options, as it is required for msvcrt.dll > > compatibility and also because tchar.

Re: [Mingw-w64-public] [PATCH] crt: Replace wprintf() by __ms_wprintf() call and use %ls for wchar_t* types

2024-12-17 Thread Pali Rohár
On Tuesday 17 December 2024 15:34:40 Martin Storsjö wrote: > On Sat, 14 Dec 2024, Pali Rohár wrote: > > > On Tuesday 03 December 2024 16:31:16 Martin Storsjö wrote: > > > On Wed, 27 Nov 2024, Pali Rohár wrote: > > > > > > > This ensures that mingwex wprintf implementation will not be used and > >

Re: [Mingw-w64-public] [PATCH 3/3] headers: Use register variable for NtCurrentTeb implementation on aarch64.

2024-12-17 Thread Jacek Caban
On 16.12.2024 08:13, LIU Hao wrote: 在 2024-12-13 19:08, Jacek Caban 写道: This change is based on Wine's winnt.h implementation. Using a register variable for NtCurrentTeb allows the compiler to optimize the access more effectively. ---   mingw-w64-headers/include/winnt.h | 5 ++---   1 file cha