gcc visibility used by moz

Jason Merrill jason@redhat.com
Thu Jul 13 05:50:00 GMT 2006


Daniel Jacobowitz wrote:
> I just don't get it.  Why should it matter whether a member function is
> virtual or not in order to be able to call it from outside this shared
> object?  Either you can access the public members of the class, or you
> can't.  Being able to access some of them and get link errors on others
> is a very strange default interpretation.

It shouldn't matter.  The public members of a class should all have 
default visibility if any do.  But that's a coding standards issue.

Jason



More information about the Gcc mailing list