On Wednesday 18 February 2026 14:09:05 LIU Hao wrote: > 在 2026-2-18 03:09, Jacek Caban 写道: > > Sorry, I meant to question the rest of the series, which adds a number > > of wrappers. What is wrong with leaving 32-bit time in 64-bit builds > > unsupported on XP? Why do we need this? What makes it worth increasing > > binary size for everyone who uses 32-bit time? > > > > I think it's better to import these functions on x86 as well, as we > > currently do. However, if we really need to support those wrappers, then > > yes, we can assume they are available on arm64ec and import them > > directly instead. > > This makes sense. Not only is 64-bit `time_t` default on 64-bit targets, it > cannot be changed to 32-bit by defining `_USE_32BIT_TIME_T`. > > The question is probably, why would anyone call 32-bit time functions on > 64-bit systems? why they don't do casts instead?
I used them in more tests which observe and determinate the MS CRT behavior and also in tests to verify correctness of implementation. So it help me doing testing. As all these functions are available also in UCRT for Windows XP, I though that it makes sense to make mingw-w64 consistent and have those functions available also for msvcrt builds. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
