aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-06-05 11:57:59 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-06-05 11:57:59 +0000
commit8f7550cae830626a17bad0d31f89a9c6aa6a99f0 (patch)
treeeeb79dd30e99e466725f749dfd70f6600a5439f8 /gcc
parent442e01b67ca6da22eda01a39ca922745cc0f4e0f (diff)
downloadgcc-8f7550cae830626a17bad0d31f89a9c6aa6a99f0.zip
gcc-8f7550cae830626a17bad0d31f89a9c6aa6a99f0.tar.gz
gcc-8f7550cae830626a17bad0d31f89a9c6aa6a99f0.tar.bz2
decl.c (xref_tag): Remove extraneous %s on dependent name lookup warning.
* decl.c (xref_tag): Remove extraneous %s on dependent name lookup warning. From-SVN: r42905
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 94658ac..970f787 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,10 @@
2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
+ * decl.c (xref_tag): Remove extraneous %s on dependent name
+ lookup warning.
+
+2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
+
* class.c (layout_vtable_decl): Fix off by one error on
build_index_type.
(build_vtt): Likewise.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 06f19cd..8bb6c7a 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));