From 8f7550cae830626a17bad0d31f89a9c6aa6a99f0 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 5 Jun 2001 11:57:59 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 94658acc1ce..970f787b101 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2001-06-05 Nathan Sidwell + + * decl.c (xref_tag): Remove extraneous %s on dependent name + lookup warning. + 2001-06-05 Nathan Sidwell * class.c (layout_vtable_decl): Fix off by one error on 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)); -- 2.30.2