Summary: | Build fails at cppducontext.h:655:22: error: ... const [with BaseContext = KDevelop::DUContext]’ marked ‘override’, but does not override | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Andreas Sturmlechner <asturm> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.90.91 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevelop/f4b5b7538be64328cf8462ee438caaac6c0907aa | Version Fixed In: | 5.0.1 |
Sentry Crash Report: | |||
Attachments: | kdevelop-5.0.0.build.log |
Created attachment 100703 [details]
kdevelop-5.0.0.build.log
just FYI - you should not be building the old C++ plugin, but rather switch to the clang based one. The old C++ plugin is rather unmaintained in the 5.x series, we concentrated on the new clang based one Git commit f4b5b7538be64328cf8462ee438caaac6c0907aa by Milian Wolff. Committed on 22/08/2016 at 10:47. Pushed by mwolff into branch '5.0'. Fix compile M +4 -2 languages/cpp/cppduchain/cppducontext.cpp M +2 -1 languages/cpp/cppduchain/cppducontext.h http://commits.kde.org/kdevelop/f4b5b7538be64328cf8462ee438caaac6c0907aa Note: According to your log, you try to pass BUILD_clang=yes, but that is not a valid option. But by passing -DBUILD_cpp=yes you disable the clang build. Remove that option. Thanks for the quick fix and heads up! Build options fixed, USE=clang is default anyway, but this one old system of mine is still free of clang. |
Building just released 5.0.0 stops at kdevelop: In file included from /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/contextbuilder.h:26:0, from /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/typebuilder.h:22, from /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/declarationbuilder.h:23, from /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/sourcemanipulation.cpp:20: /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/cppducontext.h: In instantiation of ‘class Cpp::CppDUContext<KDevelop::DUContext >’: /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/cppducontext.h:646:38: required from here /var/tmp/portage/dev-util/kdevelop-5.0.0/work/kdevelop-5.0/languages/cpp/cppduchain/cppducontext.h:655:22: error: ‘QWidget* Cpp::CppDUContext<Base>::createNavigationWidget(KDevelop::Declaration*, KDevelop::TopDUContext*, const QString&, const QString&) const [with BaseContext = KDevelop::DUContext]’ marked ‘override’, but does not override virtual QWidget* createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix) const override; ^ Reproducible: Always