[Bug c++/36655] unjustified warning for "extern template" when using -pedantic -std=c++0x
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 27 20:46:00 GMT 2008
------- Comment #2 from paolo at gcc dot gnu dot org 2008-06-27 20:46 -------
Subject: Bug 36655
Author: paolo
Date: Fri Jun 27 20:45:25 2008
New Revision: 137200
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137200
Log:
/cp
2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/36655
* pt.c (do_decl_instantiation): In c++0x mode do not warn for
extern template.
/testsuite
2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/36655
* g++.dg/cpp0x/extern_template.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/extern_template.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655
More information about the Gcc-bugs
mailing list