GNOME Bugzilla – Bug 430782
gtkmm-2.10.9 does not compile
Last modified: 2007-04-24 14:12:05 UTC
g++-4.1.1 is unhappy about something... [see below]. -Joseph ==================================================================== /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h: In static member function 'static gboolean Atk::Action_Class::do_action_vfunc_callback(AtkAction*, gint)': /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h:149: error: 'bool Glib::ObjectBase::is_derived_() const' is protected action.cc:100: error: within this context /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h: In static member function 'static gint Atk::Action_Class::get_n_actions_vfunc_callback(AtkAction*)': /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h:149: error: 'bool Glib::ObjectBase::is_derived_() const' is protected action.cc:145: error: within this context /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h: In static member function 'static const gchar* Atk::Action_Class::get_description_vfunc_callback(AtkAction*, gint)': /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h:149: error: 'bool Glib::ObjectBase::is_derived_() const' is protected action.cc:189: error: within this context /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h: In static member function 'static const gchar* Atk::Action_Class::get_name_vfunc_callback(AtkAction*, gint)': /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h:149: error: 'bool Glib::ObjectBase::is_derived_() const' is protected action.cc:234: error: within this context /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h: In static member function 'static const gchar* Atk::Action_Class::get_keybinding_vfunc_callback(AtkAction*, gint)': /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h:149: error: 'bool Glib::ObjectBase::is_derived_() const' is protected action.cc:279: error: within this context /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h: In static member function 'static gboolean Atk::Action_Class::set_description_vfunc_callback(AtkAction*, gint, const gchar*)': /usr/local/src/GARNOME/Devel/garnome-trunk/include/glibmm-2.4/glibmm/objectbase.h:149: error: 'bool Glib::ObjectBase::is_derived_() const' is protected
gtkmm 2.10.9 requires glibmm 2.12.8, in which Glib::ObjectBase::is_derived_() is public, and checks for glibmm 2.12.8 in configure. Do you have glibmm 2.12.8?
Murray, I am running the latest GARNOME-2.18.x, which contains: * platform/glib-2.13.0 * bindings/glibmm-2.13.3 -Joseph
Ah, glibmm 2.13 is not part of GNOME 2.18, and not stable. But I will do a new glibmm 2.13 release to help people avoid this problem.
Murray, Thanks for the quick response. When glibxx-2.13.x is available, I will test and update the development branch of GARNOME. For now, I will back down the versions in the GNOME-2-18 branch of GARNOME. -Joseph
I released 2.13.4 which should fix this. Do remember to use the latest 2.12.x version for stable versions.
Thank you, Murray. -Joseph