Bug 206462 - sqrt ambiguity in volumebutton.cpp
Summary: sqrt ambiguity in volumebutton.cpp
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kscd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-06 09:27 UTC by tropikhajma
Modified: 2021-07-12 10:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (1.06 KB, patch)
2010-04-18 01:46 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
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!