aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-09-15 16:51:37 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-09-15 16:51:37 +0000
commit312ea2368e81a4e198a3e414464413d1c5334038 (patch)
treec607e7ea2a44f0a7e65af341dbb3c482f7cfd6a8 /gcc
parent9c12301f5b2d91a5b6ccdaf7d323d7ca3a09e041 (diff)
downloadgcc-312ea2368e81a4e198a3e414464413d1c5334038.zip
gcc-312ea2368e81a4e198a3e414464413d1c5334038.tar.gz
gcc-312ea2368e81a4e198a3e414464413d1c5334038.tar.bz2
* pt.c (check_explicit_instantiation_namespace): Fix typo.
From-SVN: r104311
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/pt.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 37588de..868ef3a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,7 @@
2005-09-15 Mark Mitchell <mark@codesourcery.com>
+ * pt.c (check_explicit_instantiation_namespace): Fix typo.
+
PR c++/13140
* decl.c (check_class_member_definition_namespace): New function.
(grokfndecl): Use it.
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 3fe3152..8840d27 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -685,7 +685,7 @@ check_explicit_instantiation_namespace (tree spec)
ns = decl_namespace_context (spec);
if (!is_ancestor (current_namespace, ns))
pedwarn ("explicit instantiation of %qD in namespace %qD "
- "(which does not enclose namespace %qD)"
+ "(which does not enclose namespace %qD)",
spec, current_namespace, ns);
}