[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    [Bug 145780] New: Compile error on Solaris 8 -
From:       Steve Evans <stevee () zuken ! co ! uk>
Date:       2007-05-22 10:49:18
Message-ID: 20070522124917.145780.stevee () zuken ! co ! uk
[Download RAW message or body]

------- 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=145780         
           Summary: Compile error on Solaris 8 -
                    kdebase/workspace/kwin/effects/desktopgrid.cpp uses
                    lround which is not available on Solaris
           Product: kwin
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kwin kde org
        ReportedBy: stevee zuken co uk


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

I get this compile error on Solaris 8:

[ 61%] Building CXX object \
                workspace/kwin/effects/CMakeFiles/kwin4_effect_builtins.dir/desktopgrid.o
                
/cad4/stevee/kde-svn/kdebase/workspace/kwin/effects/desktopgrid.cpp: In member \
function `QRect KWin::DesktopGridEffect::desktopRect(int, bool) const': \
/cad4/stevee/kde-svn/kdebase/workspace/kwin/effects/desktopgrid.cpp:281: error: \
                `lround' was not declared in this scope
/usr/ccs/bin/as: "<stdin>": error: symbol "_ZN4KWin17DesktopGridEffectD0Ev" is used \
                but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
"_ZN4KWin17DesktopGridEffect14prePaintWindowEPNS_12EffectWindowEPiP7QRegionS5_i" is \
                used but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
                "_ZN4KWin17DesktopGridEffect14prePaintScreenEPiP7QRegioni" is used \
                but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
"_ZN4KWin17DesktopGridEffect11paintScreenEi7QRegionRNS_15ScreenPaintDataE" is used \
                but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
"_ZN4KWin17DesktopGridEffect11paintWindowEPNS_12EffectWindowEi7QRegionRNS_15WindowPaintDataE" \
                is used but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
                "_ZN4KWin17DesktopGridEffect15postPaintScreenEv" is used but not \
                defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
                "_ZN4KWin17DesktopGridEffect14desktopChangedEi" is used but not \
                defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
"_ZN4KWin17DesktopGridEffect12windowClosedEPNS_12EffectWindowE" is used but not \
                defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
"_ZN4KWin17DesktopGridEffect20grabbedKeyboardEventEP9QKeyEvent" is used but not \
                defined
/usr/ccs/bin/as: "<stdin>": error: symbol \
"_ZN4KWin17DesktopGridEffect21windowInputMouseEventEmP6QEvent" is used but not \
                defined
/usr/ccs/bin/as: "<stdin>": error: symbol "_ZN4KWin17DesktopGridEffectD1Ev" is used \
                but not defined
/usr/ccs/bin/as: "<stdin>": internal error: evaluate_symbol_expression(): op 20?

I fixed it by replacing lround with rint, but this may not be the best solution
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic