https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300

--- Comment #20 from LIU Hao <lh_mouse at 126 dot com> ---
(In reply to Sam James from comment #19)
> Fixed on trunk, I think?

The error is avoided for fortran, objc, lto, jit, and plugin; Ada is a bit
unfortunate, since it includes <accctrl.h> which includes <msxml.h> indirectly,
so  if someone wants to build Ada they must add `-DCOM_NO_WINDOWS_H` in
CPPFLAGS:
https://github.com/msys2/MINGW-packages/blob/efb0a21f6a6f9e64a27856eb63a1c549c16c999a/mingw-w64-gcc/PKGBUILD#L274-L275

I hope someone will eventually replace `#define abort()` with an inline
function...

Reply via email to