[Konversation-devel] knetwork in compat

argonel argonel at sympatico.ca
Tue Dec 7 06:05:47 CET 2004


Hiyas..

Tried to build for 3.2 tonight, no go.

In file included from netsupp.cpp:46:
netsupp.h:163: error: visibility arg must be one of "default", "hidden",
   "protected" or "internal"
netsupp.h:164: error: visibility arg must be one of "default", "hidden",
   "protected" or "internal"
netsupp.cpp:183:5: warning: "KDE_IPV6_LOOKUP_MODE" is not defined
netsupp.cpp:235:5: warning: "KDE_IPV6_LOOKUP_MODE" is not defined
netsupp.cpp:265:5: warning: "KDE_IPV6_LOOKUP_MODE" is not defined
netsupp.cpp:296:5: warning: "KDE_IPV6_LOOKUP_MODE" is not defined

This is because:

/usr/include/kde/kdemacros.h:#define KDE_EXPORT __attribute__ 
((visibility("visible")))

I finally just made netsupp.cpp include kdemacros.h first thing, to avoid 
somehow pulling in the /usr/include/kde version.

[23:42] <mattr> argonel: tell cartman to use knetwork classes from 
KDE_3_3_BRANCH
[23:42] <mattr> argonel: there's not anything in HEAD that's not in BRANCH but 
you don't have to worry about the visibility crap


Sounds like good advice to me...

~a


More information about the Konversation-devel mailing list