[Kde-bindings] smoke/kde breaks compile?

Sebastian Sauer mail at dipe.org
Sat Apr 14 05:01:12 UTC 2007


With latest kdelibs I keep to get;
[ 61%] Building CXX object smoke/kde/CMakeFiles/smokekde.dir/x_3.o
/home/kde4/kdebindings/_build/smoke/kde/x_3.cpp: In member function 'void 
x_KAction::x_22(Smoke::StackItem*) const':
/home/kde4/kdebindings/_build/smoke/kde/x_3.cpp:3843: error: 
variable 'KShapeGesture xret' has initializer but incomplete type
/home/kde4/kdebindings/_build/smoke/kde/x_3.cpp:3843: error: invalid use of 
undefined type 'struct KShapeGesture'
/opt/kde4/include/kaction.h:36: error: forward declaration of 'struct 
KShapeGesture'

That seems to be the case cause the generated x_3.cpp does not
#include <kgesture.h>

After added by hand if breaks on;
/home/kde4/kdebindings/_build/smoke/kde/x_4.cpp: In member function 'void 
x_KConfigBase::x_8(Smoke::StackItem*)':
/home/kde4/kdebindings/_build/smoke/kde/x_4.cpp:8974: error: ISO C++ forbids 
declaration of 'type name' with no type
/home/kde4/kdebindings/_build/smoke/kde/x_4.cpp:8974: error: ISO C++ forbids 
declaration of 'type name' with no type
/home/kde4/kdebindings/_build/smoke/kde/x_4.cpp:8974: error: expected 
primary-expression before 'const'
/home/kde4/kdebindings/_build/smoke/kde/x_4.cpp:8974: error: expected `)' 
before 'const'

where x_4.cpp:8974 is the writeEntry line at;
    void x_8(Smoke::Stack x) {
	// writeEntry(const char*, const Q3StrList&, char, bool, bool, bool)
	this->KConfigBase::writeEntry((const char*)x[1].s_voidp,*(const Q3StrList 
*)x[2].s_voidp,(char)x[3].s_char,(bool)x[4].s_bool,(bool)x[5].s_bool,
(bool)x[6].s_bool);
	(void)x; // noop (for compiler warning)
    }

or is it known and better to disable the smoke/kde ?!

-- 
Sebastian Sauer aka dipesh[sebsauer]
http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC F408 E193 65E2 9134 2221
Coder in http://www.koffice.org && http://www.kmldonkey.org



More information about the Kde-bindings mailing list