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:54:21 -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 #5 from gcc-bugzilla at contacts dot eelis dot net 2008-06-29 12:54 -------
Crap, pasted the wrong code. Here's the code that now triggers the warning:
template <typename> class S {};
extern template class S<int>;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655