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


Geoffrey Keating wrote:
Jason Merrill <jason@redhat.com> writes:
Benjamin Smedberg wrote:

Also, do you agree with warning about a class with greater
visibility than its data members/bases?

Sure... I would really like to disable this warning if possible,
since it will be produced thousands of times in a mozilla build ;-)

I find that surprising, since it sounds like VC++ gives the same
warning about a dllexport class with a non-dllexport base.

I think that if the aim is to have VC++ compatibility, that should be separate from the 'right' solution.

Absolutely. I didn't put in that warning because it was in VC++, but I wouldn't expect it to introduce new warnings moving code from VC++ to g++.


Jason


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