LIU Hao wrote > 在 2026-9-14 18:30, Kirill Makurin 写道: >> Hello, >> >> Here's slightly updated version of the patch I sent back in June, which >> wasn't pushed due to disagreement on how to handle `_assert` wrapper. >> > >Does t_assert.c still pass after this change?
You're right; `assert` still calls `_assert` by default, so test is going to fail with CRTs which support Unicode translation modes. I see two options: 1. Define `_UNICODE` before including assert.h, so it calls `_wassert` 2. Remove call to `_setmode`, which makes it a generic test for `assert` rather than test for `assert` with `stderr` set to Unicode translation mode - Kirill Makurin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
