OSDN Git Service

PR c++/43824
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2010 18:28:59 +0000 (18:28 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2010 18:28:59 +0000 (18:28 +0000)
commitaf28195df8e2cbaaa818301fac2e61a636875507
treeafe3ceb11522d0b0045fcf2f72563bfbc3c42dc8
parentf99f2dafedbfa9ccfc8053d40cbda0279d944743
PR c++/43824
* error.c (maybe_warn_cpp0x): Add new warning
CPP0X_INLINE_NAMESPACES.
* parser.c (cp_parser_namespace_definition): Likewise.
* cp-tree.h (cpp0x_warn_str): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164201 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/error.c
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/inline-ns3.C
gcc/testsuite/g++.dg/cpp0x/inline-ns4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/inline-ns5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/strong-using-1.C
gcc/testsuite/g++.dg/lookup/strong-using-2.C
gcc/testsuite/g++.dg/lookup/strong-using-3.C
gcc/testsuite/g++.dg/lookup/strong-using-5.C