[Kde-bindings] smokeakonadi compile errors
Ni Hui
shuizhuyuanluo at 126.com
Thu Jan 28 08:37:41 UTC 2010
hi
I got this compiling error when building kdebindings 4.3.95.
How should it be fixed?
GCC 4.4.0
Qt 4.6.1
akonadi-1.3.0 and kdelibs/kdepimlibs 4.3.95 installed
I need some help, thanks!
[ 44%] Building CXX object smoke/akonadi/CMakeFiles/smokeakonadi.dir/x_10.o
/opt/kde4/include/akonadi/entity.h: In static member function 'static void
__smokeakonadi::x_QGlobalSpace::x_1(Smoke::StackItem*)':
/opt/kde4/include/akonadi/entity.h:253: error:
'Akonadi::Entity::Entity(Akonadi::EntityPrivate*)' is protected
/work/mBuild/BUILD/kdebindings-4.3.95/build/smoke/akonadi/x_10.cpp:144: error:
within this context
/work/mBuild/BUILD/kdebindings-4.3.95/build/smoke/akonadi/x_10.cpp:144: error:
invalid conversion from 'uint' to 'Akonadi::EntityPrivate*'
/work/mBuild/BUILD/kdebindings-4.3.95/build/smoke/akonadi/x_10.cpp:144: error:
initializing argument 1 of 'Akonadi::Entity::Entity(Akonadi::EntityPrivate*)'
/opt/kde4/include/akonadi/entity.h:250: error: 'Akonadi::Entity::Entity(const
Akonadi::Entity&)' is protected
/work/mBuild/BUILD/kdebindings-4.3.95/build/smoke/akonadi/x_10.cpp:144: error:
within this context
/opt/kde4/include/akonadi/entity.h:250: error: 'Akonadi::Entity::Entity(const
Akonadi::Entity&)' is protected
/work/mBuild/BUILD/kdebindings-4.3.95/build/smoke/akonadi/x_10.cpp:145: error:
within this context
make[2]: *** [smoke/akonadi/CMakeFiles/smokeakonadi.dir/x_10.o] Error 1
make[1]: *** [smoke/akonadi/CMakeFiles/smokeakonadi.dir/all] Error 2
make: *** [all] Error 2
The context of x_10.cpp:144 follows:
static void x_1(Smoke::Stack x) {
// static Akonadi::Entity qHash(const Akonadi::Entity&)
Akonadi::Entity xret = qHash(*(const Akonadi::Entity*)x[1].s_class);
x[0].s_class = (void*)new Akonadi::Entity(xret);
}
best wishes
nihui
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100128/69c5ebd3/attachment.sig>
More information about the Kde-bindings
mailing list