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: fvisibility-inlines-hidden


On Feb 3, 2006, at 11:22 AM, Benjamin Kosnik wrote:


Is there a document, or a discussion that someone can point me to which
explains why fvisibility-inlines-hidden applies to member functions,
but not non-member functions?

AFAICT, there is very little documentation for any of the visibility stuff. There is a web page referenced as "documentation", the pointer to which you can find in the GCC-4.0.0 release notes.

There's been a lot of discussion in bugzilla about these features, but
little else.

-benjamin

Thanks Benjamin. These are the docs I can find:


http://gcc.gnu.org/wiki/Visibility
http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect- Options.html#C_002b_002b-Dialect-Options


The two are contradictory towards the treatment of non-member inline functions. I believe the first document is the one that correctly describes today's behavior.

I'm unable to find a bugzilla conversation which addresses this subject.

Let me rephrase: It seems to me that fvisibility-inlines-hidden should apply to all inline functions (both member and non-member). Does anyone have an argument for why it should not be this way?

-Howard


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