Bug 218395 - dev-libs/libsigc++-1.0.4-r3 fails w/gcc-4.3.0
Bug#: 218395 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome-mm@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL: 
Summary: dev-libs/libsigc++-1.0.4-r3 fails w/gcc-4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-04-19 11:21 0000
Description:   Opened: 2008-04-19 11:21 0000
c++ -DHAVE_CONFIG_H -I. -I. -I../../sigc++/config -I../..  -I../..    -O2
-march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c convert_slot_test.cc
c++ -DHAVE_CONFIG_H -I. -I. -I../../sigc++/config -I../..  -I../..    -O2
-march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c disconnect.cc
convert_slot_test.cc: In function ‘int foobar(const char*)’:
convert_slot_test.cc:28: error: ‘strcmp’ was not declared in this scope
make[2]: *** [convert_slot_test.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/dev-libs/libsigc++-1.0.4-r3/work/libsigc++-1.0.4/tests/signals'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/libsigc++-1.0.4-r3/work/libsigc++-1.0.4/tests'
make: *** [all-recursive] Error 1


Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Peter Alfredsen 2008-04-19 11:22:50 0000 -------
Created an attachment (id=150279) [details]
libsigc++-1.0.4-gcc43.patch

Fixes the problem. Snatched from Debian.

------- Comment #2 From Ryan Hill 2008-04-20 22:51:48 0000 -------
Applied, thanks.