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] |
Jason Merrill wrote:
Do you agree with implicitly giving template instantiations the minimum visibility of the template and arguments unless explicitly overridden?
This is not what I would naturally expect, coming from a dllimport/export mindset, but I don't think it's a problem from the mozilla POV: all of our exports are explicitly declared if/when we use hidden visibility pragmas.
Is a pragma considered an explicit override? e.g.
class nsIAbstract { virtual void Bar(); };
#pragma GCC visibility push(default) nsIAbstract* Getter(); #pragma GCC visibility pop
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 ;-)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |