https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- What I meant was that I was tempted to disable them completely *even with* -Wsystem-headers. All warnings are already disabled by default in libstdc++ headers. If your build is adding -Wsystem-headers then that's the problem. Don't do that, and you won't get so much noise.