------- Comment #4 from gcc-bugzilla at contacts dot eelis dot net 2008-06-29 12:53 ------- (In reply to comment #3) > Fixed for 4.4.0.
Thanks! However, I just noticed that while the problem has been fixed for function templates, it's still there for class templates. This code: template <typename> void f() {} extern template void f<int>(); still triggers the warning when compiled with g++ -std=c++0x -pedantic. -- gcc-bugzilla at contacts dot eelis dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655