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
This commit is contained in:
Nathan Sidwell 2001-06-05 11:57:59 +00:00 committed by Nathan Sidwell
parent 442e01b67c
commit 8f7550cae8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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));