kactivities5 build failure

Treeve Jelbert treeve at scarlet.be
Wed Feb 26 12:15:51 UTC 2014


doing a clean rebuild

gcc-4.8.2



FAILED: /var/lib/sorcery/build/c++   -DKCOREADDONS_LIB -DQT_CORE_LIB -
DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -march=native -mtune=native -m64 -
pipe -ffast-math -funroll-loops -O3  -std=c++0x -fno-exceptions -Wall -Wextra -
Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith 
-Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -O3 -
DNDEBUG -fPIE -Isrc/service -I/var/git/kf5/kactivities5/src/service -Isrc -
I/var/git/kf5/kactivities5/src -Isrc/lib/core -isystem /opt/qt5/include -
isystem /opt/qt5/include/QtCore -isystem /opt/qt5/mkspecs/linux-g++ -isystem 
/opt/qt5/include/QtDBus -isystem /opt/qt5/include/QtWidgets -isystem 
/opt/qt5/include/QtGui -isystem /opt/qt5/include/KF5/KDBusAddons -isystem 
/opt/qt5/include/KF5 -isystem /opt/qt5/include/KF5/KCoreAddons -isystem 
/opt/qt5/include/KF5/KConfigCore -isystem /opt/qt5/include/KF5/KI18n -isystem 
/opt/qt5/include/KF5/KService -isystem /opt/qt5/include/KF5/KWindowSystem -MMD 
-MT src/service/CMakeFiles/activity-manager.dir/Application.cpp.o -MF 
src/service/CMakeFiles/activity-manager.dir/Application.cpp.o.d -o 
src/service/CMakeFiles/activity-manager.dir/Application.cpp.o -c 
/var/git/kf5/kactivities5/src/service/Application.cpp
/var/git/kf5/kactivities5/src/service/Application.cpp: In function 'int 
main(int, char**)':
/var/git/kf5/kactivities5/src/service/Application.cpp:263:55: error: passing 
'const QLoggingCategory' as 'this' argument of 'void 
QLoggingCategory::setEnabled(QtMsgType, bool)' discards qualifiers [-
fpermissive]
     KAMD_LOG_APPLICATION().setEnabled(QtDebugMsg, true);
                                                       ^



More information about the Kde-frameworks-devel mailing list