Re: Fwd: Re: Fwd: Re: [PATCH] libkdeinit symbol pruning

Karl Vogel <[email protected]>
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
André Wöbbeking wrote:

> On Wednesday 21 July 2004 13:38, Karl Vogel wrote:
>>
>> It's the other way round.. the gcc visibility patch enables you to
>> hide everything by default, so that you only need to add an export to
>> the stuff you really want exported.
> 
> I read it but this way you've to mark every public method, haven't you?

Yups.. that's correct. That's also why I first had a go at it with QT, as they 
already did that (since it's required on windows).

> I don't understand why invisibility isn't the default (at least per
> command line option) for private class member and things declared in
> CPPs.

Well I wondered about that too.. so I put the question to the gcc-devel 
mailinglist:

"
Inline member functions have access to these private members and might
be compiled into application code.
"
--  http://article.gmane.org/gmane.comp.gcc.devel/51576
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.