g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -s -Os -pipe -fomit-frame-pointer -ffast-math -ftracer -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kscd_skel.o `test -f 'kscd_skel.cpp' || echo './'`kscd_skel.cpp In file included from kscd_skel.cpp:9: kscd.h:110: error: parse error before `,' token kscd.h:112: error: virtual outside class declaration kscd.h:112: error: non-member function `const char* className()' cannot have ` const' method qualifier Lots of error follows. Line 110 at kscd.h is: class KSCD : public kscdPanelDlg, public KSessionManaged, virtual public DCOPObject { Q_OBJECT K_DCOP // time display modes enum time_display { TRACK_SEC = 0, TRACK_REM = 1, TOTAL_SEC = 2, TOTAL_REM = 3 }; Gcc is: gcc version 3.3.2 20040108 (Gentoo Linux 3.3.2-r6, propolice-3.3-7) -- Linux 2.6.2-rc3-mm1 Pentium III (Coppermine) GenuineIntel GNU/Linux 20:12:08 up 1 day, 7:37, 2 users, load average: 0.08, 0.15, 0.67
Attachment:
pgp00111.pgp
Description: signature
___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.