在 2026-9-9 12:19, Kirill Makurin 写道:
I'm redirecting this to the list and CC'ing Pali.

Nikita Leontiev <[email protected]>:

Hello,

FYI
crt: remove noreturn attribute for _assert and 
_wassert<https://github.com/mingw-w64/mingw-w64/commit/ecf2328a328d11dec7044b40b2b5e93b5b2b9d9e>
 => abort is called from assert realization when ignore is 
used<https://sourceforge.net/p/mingw-w64/bugs/1031>

Pali: Are you still in favor of keeping mingw-w64 _assert wrapper? Do you have 
an idea how we can check whether `_fileno (stderr)` is a valid file descriptor 
before doing `_setmode` tricks?

You can check `_fileno (stderr) >= 0`. For a GUI application where no standard stream is attached, `_fileno (stderr)` yields -2.



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