| Summary: | qsqrt ambiguity | ||
|---|---|---|---|
| Product: | [Applications] kgeography | Reporter: | tropikhajma <tropikhajma> | 
| Component: | general | Assignee: | Albert Astals Cid <aacid> | 
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lauranger | 
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | 4.8.1 | |
| Sentry Crash Report: | |||
| Attachments: | patch | ||
| Git commit 3661d037a4f2ddaf875fbb660a632a3b7e56a148 by Albert Astals Cid. Committed on 22/01/2012 at 16:02. Pushed by aacid into branch 'master'. Get rid of ambiguity by casting to double M +1 -1 src/placemapwidget.cpp http://commits.kde.org/kgeography/3661d037a4f2ddaf875fbb660a632a3b7e56a148 Git commit e9b303a1a6581b81f81c0af2613eb76464ff4967 by Albert Astals Cid. Committed on 22/01/2012 at 16:02. Pushed by aacid into branch 'KDE/4.8'. Get rid of ambiguity by casting to double (cherry picked from commit 3661d037a4f2ddaf875fbb660a632a3b7e56a148) M +1 -1 src/placemapwidget.cpp http://commits.kde.org/kgeography/e9b303a1a6581b81f81c0af2613eb76464ff4967 | 
Created attachment 67985 [details] patch Version: unspecified (using Devel) OS: Solaris build of kgeography 4.7.97 fails with the below error. The attached patch fixes it for me Reproducible: Always Steps to Reproduce: try to build it Actual Results: line 89: Error: Overloading ambiguity between "std::sqrt(double)" and "std::sqrt(float)". Expected Results: builds ok Solaris 11, Solaris Studio 12.3, x86