在 2023-05-22 00:35, Achim Gratz 写道: > The error probably is in part a result of using g++ for the compilation, > but other than that I don't really have an idea what goes on here or how > to fix it. This looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300. It's because GCC defines `abort` as a macro; and the Windows header 'msxml.h', which is included indirectly by 'accctrl.h' (within Ada and GCC JIT), has a member function with that same name. Previously, mingw-w64 had a distinct 'msxml.h' which did `push_macro` and `pop_macro`, but it's now imported from wine for additional functionality, while the wine header does not have those pragmas and is causing trouble. GCC should not have defined macros which match standard functions like that (see Comment 9 on the PR above). Sadly nobody has refactored it so far. A temporary fix for this issue is to add `-DCOM_NO_WINDOWS_H` in `CPPFLAGS` when building GCC. -- Best regards, LIU Hao