Re: [Mingw-w64-public] [PATCH 10/10] headers: Add support for -D_TIME_BITS=64

2025-03-28 Thread Pali Rohár
On Friday 28 March 2025 22:18:31 Martin Storsjö wrote: > On Fri, 28 Mar 2025, Pali Rohár wrote: > > > On Thursday 27 March 2025 22:17:54 Martin Storsjö wrote: > > > On Thu, 27 Mar 2025, Martin Storsjö wrote: > > > > > > > On Thu, 20 Mar 2025, Pali Rohár wrote: > > > > > > > > > Currently all 32-

Re: [Mingw-w64-public] [PATCH 10/10] headers: Add support for -D_TIME_BITS=64

2025-03-28 Thread Martin Storsjö
On Fri, 28 Mar 2025, Pali Rohár wrote: On Thursday 27 March 2025 22:17:54 Martin Storsjö wrote: On Thu, 27 Mar 2025, Martin Storsjö wrote: On Thu, 20 Mar 2025, Pali Rohár wrote: Currently all 32-bit non-UCRT builds are forced to use time_t type as 32-bit and also all time_t functions in 32-

Re: [Mingw-w64-public] [PATCH 3/5] crt: Provide *_recalloc functions

2025-03-28 Thread Martin Storsjö
On Fri, 28 Mar 2025, Pali Rohár wrote: On Thursday 27 March 2025 14:57:39 Martin Storsjö wrote: On Thu, 20 Mar 2025, Pali Rohár wrote: They are natively available since msvcr80.dll, they are not available in msvcrt.dll. Provide compatibility emulation into all import libraries where they are

Re: [Mingw-w64-public] [PATCH 3/5] crt: Provide *_recalloc functions

2025-03-28 Thread Pali Rohár
On Thursday 27 March 2025 14:57:39 Martin Storsjö wrote: > On Thu, 20 Mar 2025, Pali Rohár wrote: > > > They are natively available since msvcr80.dll, they are not available in > > msvcrt.dll. Provide compatibility emulation into all import libraries where > > they are not available. > > > > Adju

Re: [Mingw-w64-public] stat, _stat, and _stat64i32 issues

2025-03-28 Thread Pali Rohár
On Saturday 22 March 2025 15:35:48 Lasse Collin wrote: > On 2025-03-20 Pali Rohár wrote: > > On Wednesday 12 March 2025 16:33:42 Lasse Collin wrote: > > > stat.h has "struct stat *" and stat64i32.c has "struct _stat64i32 > > > *". On Linux and "clang -fsanitize=function", this kind of argument > >

Re: [Mingw-w64-public] mingw-w64 new compile warning: initialized and declared extern

2025-03-28 Thread Pali Rohár
On Wednesday 26 March 2025 10:09:10 LIU Hao wrote: > 在 2025-3-26 05:13, Pali Rohár 写道: > > On Thursday 20 March 2025 20:38:57 Pali Rohár wrote: > > > Hello, I started getting new compile warnings during compilation of > > > mingw-w64 runtime. > > > > > > In file included from math/modfl.c:6: > > >

Re: [Mingw-w64-public] [PATCH 10/10] headers: Add support for -D_TIME_BITS=64

2025-03-28 Thread Lasse Collin
On 2025-03-28 Pali Rohár wrote: > On Thursday 27 March 2025 22:17:54 Martin Storsjö wrote: > > Lasse pointed out that this seems to be due to __CRT__NO_INLINE - > > when building without optimizations, that is defined, and we get > > these errors. If building with optimizations enabled, it builds >

Re: [Mingw-w64-public] [PATCH 10/10] headers: Add support for -D_TIME_BITS=64

2025-03-28 Thread Pali Rohár
On Thursday 27 March 2025 22:17:54 Martin Storsjö wrote: > On Thu, 27 Mar 2025, Martin Storsjö wrote: > > > On Thu, 20 Mar 2025, Pali Rohár wrote: > > > > > Currently all 32-bit non-UCRT builds are forced to use time_t type as > > > 32-bit and also all time_t functions in 32-bit form. > > > > >

[Mingw-w64-public] [PATCH v2] crt: Use .def file aliases for _chgsignl on ARM targets.

2025-03-28 Thread Jacek Caban
--- mingw-w64-crt/Makefile.am| 2 -- mingw-w64-crt/def-include/crt-aliases.def.in | 1 + .../lib-common/api-ms-win-crt-math-l1-1-0.def.in | 1 + mingw-w64-crt/math/arm/_chgsignl.S | 16 mingw-w64-crt/math/arm64/_chgsignl.S |