Bug 206462

Summary: sqrt ambiguity in volumebutton.cpp
Product: kscd Reporter: tropikhajma <tropikhajma>
Component: generalAssignee: Aaron J. Seigo <aseigo>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: groot
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Attachments: patch

Description tropikhajma 2009-09-06 09:27:42 UTC
Version:            (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

Building kdemultimedia 4.3.1 with Sun Studio on OpenSolaris fails with
[ 59%] Building CXX object kscd/CMakeFiles/kscd.dir/gui/volumebutton.o
"/opt/foss/qt4/include/QtCore/qstringmatcher.h", line 91: Warning: Types cannot be declared in anonymous union.
"/export/home/test/packages/BUILD/kdemultimedia-4.3.1/kscd/gui/volumebutton.cpp", line 89: Error: Overloading ambiguity between "std::sqrt(double)" and "std::sqrt(float)".
"/export/home/test/packages/BUILD/kdemultimedia-4.3.1/kscd/gui/volumebutton.cpp", line 90: Error: Overloading ambiguity between "std::sqrt(double)" and "std::sqrt(float)".
"/export/home/test/packages/BUILD/kdemultimedia-4.3.1/kscd/gui/volumebutton.cpp", line 91: Error: Overloading ambiguity between "std::sqrt(double)" and "std::sqrt(float)".

this should be probably fixed like in http://websvn.kde.org/trunk/KDE/kdebase/workspace/kwin/effects/desktopgrid/desktopgrid.cpp?r1=950718&r2=959929
Comment 1 tropikhajma 2010-04-18 01:46:33 UTC
Created attachment 42864 [details]
patch

the kde-solaris project disables kscd atm due to other issues, but this patch should work
Comment 2 Andrew Crouthamel 2018-11-02 23:00:45 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-16 05:38:45 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!