https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300
--- Comment #2 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Jonathan Wakely from comment #1) > (In reply to LIU Hao from comment #0) > > 791 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__) > > The C++ standard says this is undefined. > > We should do something like: > I was almost going to submit a patch for mingw-w64 headers. If you think this can be fixed for GCC 13, that's very kind of you, and please consider backporting.