GNOME Bugzilla – Bug 498451
gcc4.3 build issue
Last modified: 2007-11-29 22:03:18 UTC
gtkmm2.4 2.12.1 doesn't build with gcc4.3 /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
Created attachment 99391 [details] [review] fix build issue
Feel free to commit with a ChangeLog entry to trunk and gtkmm-2-12. Thanks again.
Committed. Thanks.
looks like I've been slow to reply, thanks for commiting the change!