https://bugs.kde.org/show_bug.cgi?id=366226
Bug ID: 366226 Summary: Conflicting declaration KSharedConfigPtr Product: k3b Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: k...@kde.org Reporter: xiangzha...@gmail.com CC: mich...@jabster.pl, tr...@kde.org Hi Johannes, After reverted https://quickgit.kde.org/?p=k3b.git&a=commit&h=027c7e30dc1f36429f05a15fb2b8657abf18979d kde4lib and KF5 conflicting declaration for KSharedConfigPtr!!! make [ 0%] Automatic moc for target k3bdevice [ 0%] Built target k3bdevice_automoc [ 3%] Built target k3bdevice [ 3%] Automatic moc for target k3blib [ 3%] Built target k3blib_automoc [ 3%] Building CXX object libk3b/CMakeFiles/k3blib.dir/tools/k3bmediacache.cpp.o In file included from /usr/include/libkcddb/configbase.h:8:0, from /usr/include/libkcddb/kcddbconfig.h:27, from /usr/include/libkcddb/client.h:24, from /data/project/kde/k3b/libk3b/tools/k3bmediacache.cpp:32: /usr/include/kglobal.h:42:35: Error:conflicting declaration ‘typedef class KSharedPtr<KSharedConfig> KSharedConfigPtr’ typedef KSharedPtr<KSharedConfig> KSharedConfigPtr; ^~~~~~~~~~~~~~~~ In file included from /usr/include/KF5/KConfigCore/KSharedConfig:1:0, from /data/project/kde/k3b/libk3b/core/k3bcore.h:22, from /data/project/kde/k3b/libk3b/tools/k3bmediacache.cpp:22: /usr/include/KF5/KConfigCore/ksharedconfig.h:90:28: Comment:previous declaration as ‘typedef KSharedConfig::Ptr KSharedConfigPtr’ typedef KSharedConfig::Ptr KSharedConfigPtr; ^~~~~~~~~~~~~~~~ make[2]: *** [libk3b/CMakeFiles/k3blib.dir/build.make:1047:libk3b/CMakeFiles/k3blib.dir/tools/k3bmediacache.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:225:libk3b/CMakeFiles/k3blib.dir/all] Error 2 make: *** [Makefile:128:all] Error 2 Please test before git push, OK! Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.