在 2026-2-4 07:19, Kirill Makurin 写道:
Since both libstdc++ and libc++ properly handle this case, and one of reasons for this change was running tests with msvcrt{20,40}.dll, I think this patch could be dropped and this change could be delayed until someone gets to implement quick_exit and at_quick_exit for CRTs which do not have them.With this, we could also drop the last patch which enables tests for msvcrt{20,40}.dll on CI. Existing CI run on my fork should prove that fixes in remaining patches actually fix some things and do not break others. I like the idea of testing other CRTs on CI, but our approach of statically linking libstdc++ configured for msvcrt.dll/UCRT, in my opinion, is very fragile and can break any moment. There should be better ways to achieve this goal; I can try to figure out something later if we decide to drop the last patch.
I have pushed these patches now: crt: test: Skip t_utime.c test on msvcrt10-msvcrt40 crt: Provide rand_s for all CRT libraries crt: test: Fix t_fseeki64.c for pre-msvcrt40 on DISK FULL crt: test: Convert assert_winapi_seek to macro with caller information crt: Fix overflow detection in mingw-w64 _lseeki64() emulation crt: Fix overflow detection in mingw-w64 fgetpos() emulation crt: Provide emulation of _telli64 function for msvcrt20.dll -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
