https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I would argue that the root cause is that Clang does not conform to the platform ABI for mingw-w64, which requires __GXX_TYPEINFO_EQUALITY_INLINE=0 to be defined.