* pt.c (check_explicit_instantiation_namespace): Fix typo.
From-SVN: r104311
This commit is contained in:
parent
9c12301f5b
commit
312ea2368e
|
@ -1,5 +1,7 @@
|
||||||
2005-09-15 Mark Mitchell <mark@codesourcery.com>
|
2005-09-15 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
|
* pt.c (check_explicit_instantiation_namespace): Fix typo.
|
||||||
|
|
||||||
PR c++/13140
|
PR c++/13140
|
||||||
* decl.c (check_class_member_definition_namespace): New function.
|
* decl.c (check_class_member_definition_namespace): New function.
|
||||||
(grokfndecl): Use it.
|
(grokfndecl): Use it.
|
||||||
|
|
|
@ -685,7 +685,7 @@ check_explicit_instantiation_namespace (tree spec)
|
||||||
ns = decl_namespace_context (spec);
|
ns = decl_namespace_context (spec);
|
||||||
if (!is_ancestor (current_namespace, ns))
|
if (!is_ancestor (current_namespace, ns))
|
||||||
pedwarn ("explicit instantiation of %qD in namespace %qD "
|
pedwarn ("explicit instantiation of %qD in namespace %qD "
|
||||||
"(which does not enclose namespace %qD)"
|
"(which does not enclose namespace %qD)",
|
||||||
spec, current_namespace, ns);
|
spec, current_namespace, ns);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue