This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36655] unjustified warning for "extern template" when using -pedantic -std=c++0x
- From: "gcc-bugzilla at contacts dot eelis dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2008 12:53:25 -0000
- Subject: [Bug c++/36655] unjustified warning for "extern template" when using -pedantic -std=c++0x
- References: <bug-36655-5473@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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