Problem with visibility in libkopete

Dirk Mueller mueller at kde.org
Sun Nov 21 20:29:25 GMT 2004


On Sunday 21 November 2004 21:13, Dan Jensen wrote:

>   Yes, compiling it straight against a Konstruct built KDE 3.3.1. I take it
> that's the problem, then?

There was an unfortunate typo in KDE 3.3.x kdelibs, thats whats causing the 
compile problems. 

Please apply this patch to your kdemacros.h: 



--- kdemacros.h 5 Apr 2004 16:48:17 -0000       1.8
+++ kdemacros.h 13 Nov 2004 10:23:07 -0000      1.8.2.1
@@ -36,7 +36,7 @@
 
 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 > 2)
 #define KDE_NO_EXPORT __attribute__ ((visibility("hidden")))
-#define KDE_EXPORT __attribute__ ((visibility("visible")))
+#define KDE_EXPORT __attribute__ ((visibility("default")))
 #else
 #define KDE_NO_EXPORT
 #define KDE_EXPORT





More information about the kde-core-devel mailing list