Summary: | compile error:within this context (libs/plasma/containment.cpp) | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | nihui <shuizhuyuanluo> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | finex |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
nihui
2008-05-10 07:57:59 UTC
Could you try with an updated revision? Thanks. so, today I tried svn806757. the former problem disappeared, but I get another two: [nihui@MagicLinux plasma]$ make -j4 [ 0%] [ 0%] [ 0%] [ 0%] Building CXX object libs/plasma/CMakeFiles/plasma.dir/corona.o Building CXX object libs/plasma/CMakeFiles/plasma.dir/dataengine.o Building CXX object libs/plasma/CMakeFiles/plasma.dir/runnermanager.o Building CXX object libs/plasma/CMakeFiles/plasma.dir/desktoptoolbox.o /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/runnermanager.cpp: In member function `void Plasma::RunnerManager::Private::loadAll()': /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/abstractrunner.h:192: error: `Plasma::AbstractRunner::AbstractRunner(QObject*, const QString&)' is protected /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/runnermanager.cpp:256: error: within this context /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/dataengine.cpp: In member function `void Plasma::DataEngine::Private::internalUpdateSource(Plasma::DataContainer*)': /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/datacontainer.h:127: error: `uint Plasma::DataContainer::timeSinceLastUpdate() const' is protected /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/dataengine.cpp:444: error: within this context /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/datacontainer.h:137: error: `void Plasma::DataContainer::setNeedsUpdate(bool)' is protected /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/dataengine.cpp:450: error: within this context make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/runnermanager.o] Error 1 make[2]: *** Waiting for unfinshed jobs.... make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/dataengine.o] Error 1 /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/corona.cpp: In member function `Plasma::Containment* Plasma::Corona::Private::addContainment(const QString&, const QVariantList&, uint, bool)': /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/applet.h:556: error: `void Plasma::Applet::setFailedToLaunch(bool, const QString&)' is protected /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/corona.cpp:153: error: within this context /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/applet.h:602: error: `void Plasma::Applet::setIsContainment(bool)' is protected /work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/corona.cpp:157: error: within this context make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/corona.o] Error 1 make[1]: *** [libs/plasma/CMakeFiles/plasma.dir/all] Error 2 make: *** [all] Error 2 Actually there is a lot of work in progress. Things like this could happen. Developers update source code frequently, sometimes the source code is not complete or correct. You have to be aware of this. This is a bug in your GCC version. It will compile fine with gcc 4.2+ (and probably 3.3/3.4) Going to leave this open as It may make sense to revert the change rather than forcing everyone to change GCC versions. Marking as fixed, since the issue in the bug report is resolved by r806698 (Applet ctor is public again) nihui: if the other problem you reported in #2 still persists maybe put it in a separate bug report I'm having the same problem. Using r809271, with gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3) This is a fresh checkout using qt from qt-copy. I'im updating gcc now. So i cannot check if the problem is solved. |