[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    [Quanta] Possible fix for compilation error
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-05-15 14:40:57
Message-ID: 200505151740.57499.amantia () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi,

 Those having problems compiling kdewebdev-3.4.0 on KDE 3.3.0 or 3.3.1 
and get the error like:
In file included from engine.cpp:32:
knewstuff.h:159: error: visibility arg must be one of
"default", "hidden", "protected" or "internal"
In file included from engine.cpp:33:
downloaddialog.h:232: error: visibility arg must be
one of "default", "hidden", "protected" or "internal"
In file included from engine.h:27,
                 from engine.cpp:37:
entry.h:253: error: visibility arg must be one of
"default", "hidden", "protected" or "internal"


please try the following:
- locate kdewebdev/lib/compatibility/knewstuff/knewstuff.h
- after the line #include <kdemacros.h> add the following lines
#if !KDE_IS_VERSION(3,3,2)
# undef KDE_EXPORT
# define KDE_EXPORT
#endif

Report the result, so I can include the workaround in kdewebdev 3.4.1 if 
it works. Otherwise I declare KDE < 3.3.2 unsupported.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic