aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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);
}