[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-optimize
Subject: Re: More symbol export stuff -- GCC Visibility patch
From: Karl Vogel <karl.vogel () seagha ! com>
Date: 2004-07-18 23:12:17
Message-ID: 200407190112.17239.karl.vogel () seagha ! com
[Download RAW message or body]
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)
_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic