在 2026-9-13 18:50, Pali Rohár 写道:
So unless somebody has better option what to do with _assert wrapper,
I think that at least with Kirill we have consensus to remove the
mingw-w64-crt/misc/_assert.c file completely. Any other opinion?

Looks like it effectively reverts b2c3c92b542df57ed8bfcd798928692e94a35308. 
That's fine I think.

According to ISO C, if a narrow I/O function is called on stderr, it makes stderr byte-oriented, and further wide I/O functions on stderr will fail. However, Microsoft CRT does not seem to have such a limitation; in UCRT assert.h they always call `_wassert()`.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to