method.c (hack_identifier): Finding multiple members is always an error.

1998-09-20  Martin von L�wis  <loewis@informatik.hu-berlin.de>
	* method.c (hack_identifier): Finding multiple members is always
	an error.

From-SVN: r22528
This commit is contained in:
Martin v. Löwis 1998-09-21 13:34:10 +00:00 committed by Martin v. Löwis
parent 5225130d39
commit 0cfdd854df
2 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,8 @@
1998-09-20 Martin von Löwis <loewis@informatik.hu-berlin.de>
* method.c (hack_identifier): Finding multiple members is always
an error.
1998-09-21 Per Bothner <bothner@cygnus.com>
* Make-lang.in (c++-filt): Link libiberty.a after cxxmain.o.

View File

@ -1944,14 +1944,9 @@ hack_identifier (value, name)
}
else if (TREE_CODE (value) == TREE_LIST && TREE_NONLOCAL_FLAG (value))
{
if (type == 0)
{
error ("request for member `%s' is ambiguous in multiple inheritance lattice",
IDENTIFIER_POINTER (name));
return error_mark_node;
}
return value;
error ("request for member `%s' is ambiguous in multiple inheritance lattice",
IDENTIFIER_POINTER (name));
return error_mark_node;
}
if (! processing_template_decl)