Commit 5f23a307 by Mark Mitchell Committed by Mark Mitchell

sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.

	* sig.c (build_signature_table_constructor): Use accessible_p
	instead of compute_access.

From-SVN: r25667
parent 2d7efc01
1999-03-10 Mark Mitchell <mark@markmitchell.com>
* sig.c (build_signature_table_constructor): Use accessible_p
instead of compute_access.
1999-03-09 Jason Merrill <jason@yorick.cygnus.com> 1999-03-09 Jason Merrill <jason@yorick.cygnus.com>
* call.c (add_builtin_candidates): Handle overloaded conversion ops. * call.c (add_builtin_candidates): Handle overloaded conversion ops.
......
...@@ -548,8 +548,7 @@ build_signature_table_constructor (sig_ty, rhs) ...@@ -548,8 +548,7 @@ build_signature_table_constructor (sig_ty, rhs)
break; break;
if (rhs_methods == NULL_TREE if (rhs_methods == NULL_TREE
|| (compute_access (basetypes, rhs_method) || !accessible_p (basetypes, rhs_method))
!= access_public_node))
{ {
error ("class `%s' does not contain a method conforming to `%s'", error ("class `%s' does not contain a method conforming to `%s'",
TYPE_NAME_STRING (rhstype), TYPE_NAME_STRING (rhstype),
......
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