在 2025-02-24 19:29, Jacek Caban 写道:
wchar.h ideally should not include wctype.h, I guess that's why those declarations are currently duplicated. MSVC has its stripped version in corecrt_wctype.h, which is included by both wctype.h and wchar.h. I think we should do the same.

I'm aware of <corecrt_wctype.h>. However there's some confusion in my mind:

1. The complement of <corecrt_wctype.h> w.r.t. <wctype.h> is unclear. In other 
words,
   it's about what should be in <wctype.h> but not in <wchar.h>.
2. There's no <corecrt_ctype.h>.
3. Surprisingly, <ctype.h> includes <corecrt_wctype.h>, which looks like a user 
would
   have included both.


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