El Thursday 29 October 2015, a les 16:32:43, Milian Wolff va escriure: > Hey all, > > can we enable more warnings on the CI? What -W flags are we currently > building with?
As far as i know, the ones your project defines, in your case probably through include(KDECompilerSettings) > What GCC version do we use? https://build.kde.org/job/kdevelop%20master%20kf5-qt5/ PLATFORM=Linux,compiler=gcc/161/consoleFull says "The C compiler identification is GNU 4.9.2" > I got a report about a warning > that is currently not visible on our CI: > > /tmp/makepkg/kdevelop-git/src/kdevelop/projectmanagers/qmake/parser/ > buildastvisitor.cpp: In member function ‘T* > QMake::BuildASTVisitor::stackPop() [with T = QMake::StatementAST]’: > /tmp/makepkg/kdevelop-git/src/kdevelop/projectmanagers/qmake/parser/ > buildastvisitor.cpp:243:4: warning: assuming signed overflow does not occur > when assuming that (X - c) <= X is always true [-Wstrict-overflow] Maybe strict overflow has been introduced with gcc 5.x? > > Even more odd, we have > https://build.kde.org/job/kdevelop%20master%20kf5-qt5/ > PLATFORM=Linux,compiler=gcc/158/warningsResult/package.-835791298/ but the > following deprecation warning is nowhere shown: > > /tmp/makepkg/kdevelop-git/src/build/languages/clang/clangsettings/ > sessionconfig.cpp:48:1: warning: ‘virtual void > KCoreConfigSkeleton::usrReadConfig()’ is deprecated [-Wdeprecated- > declarations] > > Has anyone a clue what's going on here? You have an old kconfig compiler that is generating deprecated code? The code generated here doesn't seem to have any usrReadConfig call in sessionconfig.cpp Cheers, Albert > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > >> << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<