problems compiling kdebase in 3.5 branch

Anders Lund anders at
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 
-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 
-c /home/anders/src/kde/3.5/kdebase/kicker/libkicker/global.cpp 
-o ../../kicker/libkicker/.libs/global.o 
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 `:'
../../kicker/libkicker/kickerSettings.h: In static member function `static 
../../kicker/libkicker/kickerSettings.h:29: error: 'class KickerSettings' has
   no member named 'mLocked'
../../kicker/libkicker/kickerSettings.h: In static member function `static 
../../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.

jabber: anderslund at

More information about the kde-core-devel mailing list