Re: More symbol export stuff -- GCC Visibility patch

Karl Vogel <[email protected]>
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
David Faure wrote:

> On Sunday 18 July 2004 22:59, Karl Vogel wrote:
>> #define HIDE  __attribute__((visibility ("hidden"))
>> 
>> and then..
>> 
>>   private:
>> void methodX() HIDE;
> 
> It's already available in KDE, called KDE_NO_EXPORT, see
> kdelibs/kdecore/kdemacros.h
> 
> But I guess it's far from used enough at the moment.

Right! Anyway learned quite a few interesting things this weekend.. and the 
funny thing is.. at the end of the weekend I found a document describing it 
all nicely in a PDF written by Ulrich Drepper:
 http://people.redhat.com/drepper/dsohowto.pdf

(esp 2.2.3. Define Visibility for C++ Class Members -- and further)
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.