Version: (using Devel) Compiler: Sun Studio 12 U1 OS: Solaris Installed from: Compiled sources building kdemultimedia using Sun Studio fails with ... "/.../srcdir/libkcompactdisc/wmlib_interface.cpp", line 265: Error: Overloading ambiguity between "std::abs(int)" and "std::abs(long)". "/.../srcdir/libkcompactdisc/wmlib_interface.cpp", line 268: Error: Overloading ambiguity between "std::abs(int)" and "std::abs(long)". the attached patch fixes the issue
Created attachment 43033 [details] patch but perhaps static_cast<long> would be better
SVN commit 1184980 by cfeck: SVN_SILENT fix Sun Studio build Patch by tropikhajma BUG: 235390 M +2 -2 wmlib_interface.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1184980