Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52185 - hydrogen ( compile error with gcc-3.4 )
Summary: hydrogen ( compile error with gcc-3.4 )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Frank van de Pol (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-27 06:48 UTC by ares
Modified: 2004-07-01 12:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hydrogen-0.8.2-gcc34.patch (hydrogen-0.8.2-gcc34.patch,416 bytes, patch)
2004-07-01 09:10 UTC, Patrick Dawson (RETIRED)
Details | Diff
hydrogen-0.8.2-r3.ebuild-gcc34.patch (hydrogen-0.8.2-r3.ebuild-gcc34.patch,337 bytes, patch)
2004-07-01 09:11 UTC, Patrick Dawson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ares 2004-05-27 06:48:02 UTC
Making all in lib
make[2]: Entering directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2/lib'
source='AlsaMidiDriver.cpp' object='AlsaMidiDriver.o' libtool=no \
depfile='.deps/AlsaMidiDriver.Po' tmpdepfile='.deps/AlsaMidiDriver.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O3  -c -o AlsaMidiDriver.o `t      est -f 'AlsaMidiDriver.cpp' || echo './'`AlsaMidiDriver.cpp
source='DiskWriterDriver.cpp' object='DiskWriterDriver.o' libtool=no \
depfile='.deps/DiskWriterDriver.Po' tmpdepfile='.deps/DiskWriterDriver.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O3  -c -o DiskWriterDriver.o       `test -f 'DiskWriterDriver.cpp' || echo './'`DiskWriterDriver.cpp
source='Hydrogen.cpp' object='Hydrogen.o' libtool=no \
depfile='.deps/Hydrogen.Po' tmpdepfile='.deps/Hydrogen.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O3  -c -o Hydrogen.o `test -f       'Hydrogen.cpp' || echo './'`Hydrogen.cpp
Hydrogen.cpp: In member function `void Hydrogen::setTapTempo(float)':
Hydrogen.cpp:2505: error: call of overloaded `abs(float)' is ambiguous
/usr/include/stdlib.h:748: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include/g++-v3/cstdlib:153: note:                 long long int       __gnu_cxx::abs(long long int)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include/g++-v3/cstdlib:123: note:                 long int std:      :abs(long int)
make[2]: *** [Hydrogen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2'
make: *** [all] Error 2

!!! ERROR: media-sound/hydrogen-0.8.2 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)
Comment 1 Benjamin Coles 2004-06-02 22:31:44 UTC
Bug filed in wrong place
Comment 2 Patrick Dawson (RETIRED) gentoo-dev 2004-07-01 09:10:37 UTC
Created attachment 34586 [details, diff]
hydrogen-0.8.2-gcc34.patch

I didn't find any other compile errors on gcc-3.4, so this is a trivial fix.
Comment 3 Patrick Dawson (RETIRED) gentoo-dev 2004-07-01 09:11:47 UTC
Created attachment 34587 [details, diff]
hydrogen-0.8.2-r3.ebuild-gcc34.patch

Applies my patch in the ebuild
Comment 4 Frank van de Pol (RETIRED) gentoo-dev 2004-07-01 12:33:53 UTC
Comitted to CVS. Thanks!