[Bug 161877] New: compile error:within this context (libs/plasma/containment.cpp)

nihui shuizhuyuanluo at 126.com
Sat May 10 07:58:00 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=161877         
           Summary: compile error:within this context
                    (libs/plasma/containment.cpp)
           Product: plasma
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: panel-devel kde org
        ReportedBy: shuizhuyuanluo 126 com


Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Linux

hi,

I can't compile kdebase-workspace since 4.0.72 due to this error problem.
Everything was ok in 4.0.71(svn802441).
Maybe this issus is related with plasma API review, I think.

gcc-3.4.6
qt-4.4.0(final)
os: Magic Linux-2.1beta2

I had already installed kdelibs/kdepimlibs/kdebase-runtime of the newest snapshot release(4.0.73) before I started to compile kdebase-workspace-4.0.73.

[  45%] Building CXX object libs/plasma/CMakeFiles/plasma.dir/containment.o
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp: In member function `QPoint Plasma::Containment::effectiveScreenPos() const':
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:547: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:550: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:550: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:553: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:556: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:556: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp: In member function `Plasma::Applet* Plasma::Containment::Private::addApplet(const QString&, const QVariantList&, const QRectF&, uint, bool)':
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/applet.h:502: error: `Plasma::Applet::Applet(QGraphicsItem*, const QString&, uint)' is protected
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:986: error: within this context
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp: In member function `void Plasma::Containment::Private::positionContainment()':
/work/people/nihui/mBuild/BUILD/kdebase-workspace-4.0.73/libs/plasma/containment.cpp:1132: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
make[2]: *** [libs/plasma/CMakeFiles/plasma.dir/containment.o] Error 1
make[1]: *** [libs/plasma/CMakeFiles/plasma.dir/all] Error 2
make: *** [all] Error 2


hope you developers will fix it soon ;)
regards,
nihui


More information about the Panel-devel mailing list