[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #6 from Ian McInerney --- They are showing up when I don't have -Wsystem-headers passed in on the command line. Compiling the attached test program with `g++ -Wmismatched-tags main.cpp` shows the warnings. All that is doing is

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #5 from Ian McInerney --- Created attachment 48837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48837=edit test program

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #4 from Jonathan Wakely --- 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

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #2 from Ian McInerney --- I'd be fine with disabling them for the library (although I would have hoped they would have been disabled there from the start since warnings from the library weren't requested), but as it stands currently

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED