problems compiling kdebase in 3.5 branch

Anders Lund anders at alweb.dk
Sat Oct 15 23:02:05 BST 2005


I had a problem compiling kdebase from the 3.5 branch just now.

The process died compiling kdebase/kicker/libkicker/global.cpp:

compiling /home/anders/src/kde/3.5/kdebase/kicker/libkicker/global.cpp
g++ -DHAVE_CONFIG_H -I../../kicker/libkicker 
-I/home/anders/src/kde/3.5/kdebase/kicker/libkicker -I../.. 
-I/opt/kdesvn/include -I/opt/qt-copy/include -I/usr/X11R6/include 
-DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long 
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -fPIC -DPIC 
-c /home/anders/src/kde/3.5/kdebase/kicker/libkicker/global.cpp 
-o ../../kicker/libkicker/.libs/global.o 
-Wp,-MD,../../kicker/libkicker/.deps/global.TUlo
In file included 
from /home/anders/src/kde/3.5/kdebase/kicker/libkicker/global.cpp:35:
../../kicker/libkicker/kickerSettings.h:1163: error: syntax error before `:'
   token
../../kicker/libkicker/kickerSettings.h: In static member function `static 
void
   KickerSettings::setLocked(bool)':
../../kicker/libkicker/kickerSettings.h:29: error: 'class KickerSettings' has
   no member named 'mLocked'
../../kicker/libkicker/kickerSettings.h: In static member function `static 
bool
   KickerSettings::locked()':
../../kicker/libkicker/kickerSettings.h:38: error: 'class KickerSettings' has
   no member named 'mLocked'
Error creating ../../kicker/libkicker/global.lo. Exit status 1.


Looking inside kickerSettings.h I noticed the line 'dpointer:' just above the 
declaration of private variables. Commenting away that line seems to have 
fixed the immediate problem, as the file compiled, and the build now appears 
to continue flawlessly. But I don't know if more of the kcfg files will cause 
the same problem, or why it is there or how to solve it for real.

-anders
-- 
www: http://alweb.dk
jabber: anderslund at jabber.dk




More information about the kde-core-devel mailing list