https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106141
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Duplicate of bug 86491. Yes we agree that the diagnostic should reference internal linkage. The warning was added before c++11 support was added which is why it mentions anonymous namespace. *** This bug has been marked as a duplicate of bug 86491 ***