https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95765
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Users should not be routinely using -Wsystem-headers to find problems with
their own code (that defeats the entire purpose of suppressing warnings in
system headers).
I've fixed some warnings in libstdc++ code, but the real problem here is Bug
43167 (and Bug 43167 comment 17 has almost exactly the same example).
*** This bug has been marked as a duplicate of bug 43167 ***