Commit 8f7550ca by Nathan Sidwell Committed by Nathan Sidwell

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
parent 442e01b6
2001-06-05 Nathan Sidwell <nathan@codesourcery.com> 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 * class.c (layout_vtable_decl): Fix off by one error on
build_index_type. build_index_type.
(build_vtt): Likewise. (build_vtt): Likewise.
......
...@@ -12557,7 +12557,7 @@ xref_tag (code_type_node, name, globalize) ...@@ -12557,7 +12557,7 @@ xref_tag (code_type_node, name, globalize)
cp_warning ("`%s %T' declares a new type at namespace scope", cp_warning ("`%s %T' declares a new type at namespace scope",
tag_name (tag_code), name); tag_name (tag_code), name);
if (!explained++) 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), tag_name (tag_code),
constructor_name (current_class_type), constructor_name (current_class_type),
TYPE_IDENTIFIER (t)); TYPE_IDENTIFIER (t));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment