https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572
--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> --- No, this only helps for mingw-g++. Only the change from comment 7 has been committed. As noted in comment 9, the incorrect macro definition for clang still causes problems. We either need to work around that like in the first bit of comment 9, or clang needs a change.