On vendredi 30 décembre 2016 16:26:53 CET David Faure wrote: > On vendredi 30 décembre 2016 16:02:17 CET Kevin Funk wrote: > > I agree it would be perfect to have GCC 4.6 for KF5 in place (or some > > other > > mechanism to make sure 'override' is not used). > > One solution is > add_definitions(-Doverride=ERROR) > ;-) > > (like qtbase does with a number of things, for its own compilation)
Sorry that was nonsense, would break Q_DECL_OVERRIDE. qtbase is doing -Dsignals=int \ -Dslots=int \ -Demit=public: \ -Dforeach=public: \ -Dforever=public: but that's just its own macros. Commit hook? :-) Or I can just run a grep at release time. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5