summaryrefslogtreecommitdiffstats
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-05 11:57:59 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-05 11:57:59 +0000
commit026b7f6ff094c0483286fe2fd8f79bd5d4c884ae (patch)
treeeeb79dd30e99e466725f749dfd70f6600a5439f8 /gcc/cp/decl.c
parent82ef7cb53c54e23bbe348addc4c390e0e59e41e5 (diff)
downloadppe42-gcc-026b7f6ff094c0483286fe2fd8f79bd5d4c884ae.tar.gz
ppe42-gcc-026b7f6ff094c0483286fe2fd8f79bd5d4c884ae.zip
* decl.c (xref_tag): Remove extraneous %s on dependent name
lookup warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 06f19cdeb0b..8bb6c7a7cca 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -12557,7 +12557,7 @@ xref_tag (code_type_node, name, globalize)
cp_warning ("`%s %T' declares a new type at namespace scope",
tag_name (tag_code), name);
if (!explained++)
- cp_warning (" names from dependent base classes are not visible to unqualified name lookup - to refer to the inherited type, say `%s %T::%T'%s",
+ cp_warning (" names from dependent base classes are not visible to unqualified name lookup - to refer to the inherited type, say `%s %T::%T'",
tag_name (tag_code),
constructor_name (current_class_type),
TYPE_IDENTIFIER (t));
OpenPOWER on IntegriCloud