https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60786
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |7.0 Resolution|--- |DUPLICATE --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In GCC7+, we started having a pedantic warning (only with -pedantic or -Wpedantic): <source>:6:16: warning: explicit instantiation of 'template<class T> struct A::B' outside its namespace must use a nested-name-specifier [-Wpedantic] template class B<int>; ^~~~~~ This is a dup of bug 56480. *** This bug has been marked as a duplicate of bug 56480 ***