[Bug 162084] compile error when using old gcc

nihui shuizhuyuanluo at 126.com
Thu Jun 19 03:04:55 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162084         




------- Additional Comments From shuizhuyuanluo 126 com  2008-06-19 03:04 -------
4.0.83(svn 821791)
errors still exist...
but after applying the patch, it works.

Any responses?

(using make -j4)
[ 75%] Building CXX object libs/plasma/CMakeFiles/plasma.dir/dataenginemanager.o
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/dataengine.cpp: In member function `void Plasma::DataEngine::Private::internalUpdateSource(Plasma::DataContainer*)':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/datacontainer.h:127: error: `uint Plasma::DataContainer::timeSinceLastUpdate() const' is protected
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/dataengine.cpp:451: error: within this context
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/datacontainer.h:137: error: `void Plasma::DataContainer::setNeedsUpdate(bool)' is protected
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/dataengine.cpp:457: error: within this context
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/dataengine.cpp: At global scope:
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/dataengine.cpp:70: warning: unused parameter 'source'
make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/dataengine.o] 错误 1
make[2]: *** 正在等待未完成的任务....
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/corona.cpp: In member function `Plasma::Containment* Plasma::Corona::Private::addContainment(const QString&, const QVariantList&, uint, bool)':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/applet.h:591: error: `void Plasma::Applet::setFailedToLaunch(bool, const QString&)' is protected
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/corona.cpp:135: error: within this context
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/applet.h:642: error: `void Plasma::Applet::setIsContainment(bool)' is protected
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/corona.cpp:139: error: within this context
make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/corona.o] 错误 1
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp: In member function `QPoint Plasma::Containment::effectiveScreenPos() const':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:646: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:649: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:649: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:652: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:655: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:655: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp: In member function `KActionCollection& Plasma::Containment::Private::actions()':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/applet.h:746: error: `Plasma::Applet::Private* const Plasma::Applet::d' is private
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:943: error: within this context
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp: In member function `void Plasma::Containment::Private::positionContainment()':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:1336: warning: converting to `int' from `qreal'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:1360: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/containment.o] 错误 1
make[1]: *** [libs/plasma/CMakeFiles/plasma.dir/all] 错误 2
make: *** [all] 错误 2


(using make)
[ 41%] Building CXX object libs/plasma/CMakeFiles/plasma.dir/containment.o
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp: In member function `QPoint Plasma::Containment::effectiveScreenPos() const':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:646: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:649: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:649: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:652: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:655: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:655: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp: In member function `KActionCollection& Plasma::Containment::Private::actions()':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/applet.h:746: error: `Plasma::Applet::Private* const Plasma::Applet::d' is private
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:943: error: within this context
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp: In member function `void Plasma::Containment::Private::positionContainment()':
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:1336: warning: converting to `int' from `qreal'
/work/people/nihui/mBuild/SOURCES/kdebase-workspace-4.0.83/libs/plasma/containment.cpp:1360: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/containment.o] 错误 1
make[1]: *** [libs/plasma/CMakeFiles/plasma.dir/all] 错误 2
make: *** [all] 错误 2


More information about the Panel-devel mailing list