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
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