From kde-optimize Sun Jul 18 23:12:17 2004 From: Karl Vogel Date: Sun, 18 Jul 2004 23:12:17 +0000 To: kde-optimize Subject: Re: More symbol export stuff -- GCC Visibility patch Message-Id: <200407190112.17239.karl.vogel () seagha ! com> X-MARC-Message: https://marc.info/?l=kde-optimize&m=109019232226986 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