This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc visibility used by moz


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]