https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831
--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to emsr from comment #6) > Created attachment 33952 [details] > Just remove the define of the __has_attribute macro entirely. > > Just remove the define of the __has_attribute macro entirely. > > I don't really need it as long as we have __has_cpp_attribute. > > Could someone try this s'il vous plait? > > I might still want the code in the last patch. Your second patch fixes the issue, even without the first one.