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
This commit is contained in:
parent
2d7efc013d
commit
5f23a307e2
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* call.c (add_builtin_candidates): Handle overloaded conversion ops.
|
||||
|
|
|
@ -548,8 +548,7 @@ build_signature_table_constructor (sig_ty, rhs)
|
|||
break;
|
||||
|
||||
if (rhs_methods == NULL_TREE
|
||||
|| (compute_access (basetypes, rhs_method)
|
||||
!= access_public_node))
|
||||
|| !accessible_p (basetypes, rhs_method))
|
||||
{
|
||||
error ("class `%s' does not contain a method conforming to `%s'",
|
||||
TYPE_NAME_STRING (rhstype),
|
||||
|
|
Loading…
Reference in New Issue