Package: glibmm2.4 Version: 2.14.2-1 User: [EMAIL PROTECTED] Usertags: origin-ubuntu hardy patch
glibmm2.4 2.14.2 does't build with gcc-snapshot /bin/bash ../../libtool --tag=CXX --mode=compile /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I../../glib -I../../glib -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -Wall -O2 -Wno-long-long -c -o object.lo object.cc /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I../../glib -I../../glib -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -Wall -O2 -Wno-long-long -c object.cc -fPIC -DPIC -o .libs/object.o object.cc: In constructor 'Glib::ConstructParams::ConstructParams(const Glib::Class&, const char*, ...)': object.cc:110: error: 'memset' was not declared in this scope Including cstring fixed the issue I've also send the bug upstream on http://bugzilla.gnome.org/show_bug.cgi?id=498438
--- glib/glibmm/object.cc.orig 2007-11-20 10:52:09.000000000 +0100 +++ glib/glibmm/object.cc 2007-11-20 10:52:54.000000000 +0100 @@ -27,6 +27,7 @@ #include <gobject/gvaluecollector.h> #include <cstdarg> +#include <cstring> //Weak references: //I'm not sure what the point of these are apart from being a hacky way out of circular references,

