https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572
--- Comment #14 from Martin Storsjö <martin at martin dot st> --- (In reply to GCC Commits from comment #13) > The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: > > https://gcc.gnu.org/g:6af8d8e618ed27dae3432c96484de4360bd893ab > > commit r15-1342-g6af8d8e618ed27dae3432c96484de4360bd893ab > Author: Jonathan Wakely <jwak...@redhat.com> > Date: Tue Jun 11 15:52:30 2024 +0100 > > libstdc++: Make std::type_info::operator== always_inline for C++23 > [PR110572] Is this enough to fix the issue with Clang, or should I still look into making Clang predefine __GXX_TYPEINFO_EQUALITY_INLINE=0 for mingw targets? (Even if it works, it's admittedly not very pretty to rely on "#if !FOO" for an undefined FOO.)