在 2025-6-25 06:29, Pali Rohár 写道:
Format %c and %s when used in some wide wprintf function takes the wide
wchar_t char or wide wchar_t* string. This is msvcrt.dll and UCRT behavior.

This change aligns the mingw-w64 wprintf functions to be compatible with MS.
---
  mingw-w64-crt/stdio/mingw_pformat.c | 12 ++++++++++--
  1 file changed, 10 insertions(+), 2 deletions(-)


The mingw-w64 printf functions have C99 behavior for many years. Given the quantity of users who have been used to that, I don't think there's enough reason to make a change.


Format %c and %s when used in some wide wprintf function takes the wide
                   \-------------------------------------/
  \-------v------/                                           ^
           \------------------------------------------------/

nitpicking:                                                take



--
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