Created attachment 68942 [details] patch Version: 2.5.0 (using KDE 4.8.0) OS: Solaris When building digikam 2.5 with the Solaris Studio 12.3 compiler, the below error is produced. The attached patch made it go away for me. Also using qSqrt works. Reproducible: Always Steps to Reproduce: try to build digikam Actual Results: "/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/libkface/test/gui/faceitem.cpp", line 268: Error: The function "sqrt" must have a prototype. "/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/libkface/test/gui/faceitem.cpp", line 268: Error: The function "sqrt" must have a prototype. Expected Results: builds fine
Git commit a3046c55adfa102ca134531f21ccf499cbd9143c by Gilles Caulier. Committed on 20/02/2012 at 09:12. Pushed by cgilles into branch 'master'. fix compilation under Solaris M +1 -1 test/gui/faceitem.cpp http://commits.kde.org/libkface/a3046c55adfa102ca134531f21ccf499cbd9143c