[PATCH] Fix for kdebase/nsplugins error build
fenix
fenix at club-internet.fr
Fri Jul 5 23:11:10 BST 2002
I have checked out kdebase from 20 minutes ago.. there is a compile
problem...
bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I.. -I../libltdl -I/home/kde3/kde3/include
-I/home/kde3/CVS/qt-copy/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT
-DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o libnsplugin_la.all_cpp.lo `test
-f libnsplugin_la.all_cpp.cpp || echo './'`libnsplugin_la.all_cpp.cpp
objprelink .libs/libnsplugin_la.all_cpp.o
objprelink .libs/libnsplugin_la.all_cpp.o
In file included from libnsplugin_la.all_cpp.cpp:5:
kqeventutil.cpp: In static member function `static QString
KQEventUtil::getQtEventName(QEvent*)':
kqeventutil.cpp:31: parse error before numeric constant
In file included from libnsplugin_la.all_cpp.cpp:5:
kqeventutil.cpp:33: warning: unreachable code at beginning of switch
statement
make[1]: *** [libnsplugin_la.all_cpp.lo] Erreur 1
make[1]: Quitte le répertoire `/home/kde3/CVS/kde/kdebase/nsplugins'
make: *** [all-recursive] Erreur 1
its another name clashes between X and Qt (None and QEvent::None)
i have attached an ugly patch for this but a kdelibs header who avoid
X-Qt name clashes must be the right solution
FeniX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nsplug.patch
Type: text/x-diff
Size: 3573 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020705/6baada0f/attachment.patch>
More information about the kde-core-devel
mailing list