在 2025-7-14 05:04, Kirill Makurin 写道:
The replacements for mb*towc* and wc*tomb* functions are currently used only 
for pre-msvcr80.dll (including all msvcrt.dll). The tests should be skipped by 
returning 77 when compiled for msvcr80.dll and later (including UCRT).

Is it possible that me checking `__MSVCRT_VERSION__ >= 0x0800` is incorrect?

It is not incorrect, and I don't see such an error:

   UCRT64 ~/Desktop
   $ gcc 'D:\lh_mouse\GitHub\mingw-w64\mingw-w64-crt\testcases\t_wcsrtombs.c' ; 
./a.exe ; echo $?
   77



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to