This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36655] unjustified warning for "extern template" when using -pedantic -std=c++0x



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]