Bug 217831 - media-sound/traverso-0.42.0 fails w/ gcc-4.3.0
Bug#: 217831 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: proaudio@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL: 
Summary: media-sound/traverso-0.42.0 fails w/ gcc-4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-04-15 18:43 0000
Description:   Opened: 2008-04-15 18:43 0000
[ 47%] Building CXX object
buildfiles/CMakeFiles/traversosongcanvas.dir/TimeLineView.o
/var/tmp/portage/media-sound/traverso-0.42.0/work/traverso-0.42.0/src/traverso/songcanvas/TimeLineView.cpp:
In member function ‘virtual int DragMarker::jog()’:
/var/tmp/portage/media-sound/traverso-0.42.0/work/traverso-0.42.0/src/traverso/songcanvas/TimeLineView.cpp:132:
error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:99: note: candidates
are: double std::abs(double)
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:103: note:           
     float std::abs(float)
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/cmath:107: note:           
     long double std::abs(long double)
make[2]: *** [buildfiles/CMakeFiles/traversosongcanvas.dir/TimeLineView.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [buildfiles/CMakeFiles/traversosongcanvas.dir/all] Error 2
make: *** [all] Error 2


Reproducible: Always

------- Comment #1 From Peter Alfredsen 2008-04-15 18:44:52 0000 -------
Created an attachment (id=149834) [details]
traverso-0.42.0-gcc43.patch

Fixes the problem. Snatched from Debian.

------- Comment #2 From Alexis Ballier 2008-04-20 17:38:17 0000 -------
applied, thanks

as always, please dont forget to report it upstream