https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68052
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- The differences that you observe are because C and C++ give the warnings at different locations. I think the location used by C++ is wrong. *** This bug has been marked as a duplicate of bug 56856 ***