Bug#452090: gcc-4.3 build issue

Sebastien Bacher seb128 at ubuntu.com
Tue Nov 20 10:57:55 UTC 2007


Package: gtkmm2.4
Version: 2.12.1-1
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
Tags: patch

gtkmm2.4 2.12.1 doesn't build using gcc-snapshot

/usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\"
-I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk
-I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -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 -I/usr/include/cairomm-1.0 -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gtk-unix-print-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -Wall -O2 -c scale.cc  -fPIC -DPIC -o
.libs/scale.o
In file included from ../../pango/pangomm/item.h:26,
                 from ../../pango/pangomm/context.h:38,
                 from ../../gtk/gtkmm/widget.h:28,
                 from ../../gtk/gtkmm/range.h:28,
                 from ../../gtk/gtkmm/scale.h:30,
                 from scale.cc:4:
../../pango/pangomm/attributes.h:219: warning: type qualifiers ignored on
function return type
scale.cc: In function
'gchar*<unnamed>::Scale_signal_format_value_callback(GtkScale*, gdouble,
void*)':
scale.cc:145: error: 'strlen' was not declared in this scope
scale.cc: In static member function 'static gchar*
Gtk::Scale_Class::format_value_callback(GtkScale*, gdouble)':
scale.cc:315: error: 'strlen' was not declared in this scope


 /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\"
-I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk
-I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -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 -I/usr/include/cairomm-1.0 -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gtk-unix-print-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -Wall -O2 -c targetentry.cc  -fPIC -DPIC -o
.libs/targetentry.o
targetentry.cc: In constructor 'Gtk::TargetEntry::TargetEntry()':
targetentry.cc:31: error: 'memset' was not declared in this scope

The attached patch fixes the issue

I've also send the bug upstream on http://bugzilla.gnome.org/show_bug.cgi?id=498451
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibmm2.4.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20071120/17c6c49e/attachment.bin 


More information about the pkg-gnome-maintainers mailing list