GNOME Bugzilla – Bug 759262
Build failure: menushell.cc:57:23: error: 'virtual Gtk::MenuShell::~MenuShell()' has a different exception specifier
Last modified: 2016-01-10 18:30:59 UTC
Created attachment 317053 [details] build.log Hi, While upgrading from GNOME 3.16 to 3.18 on Gentoo Linux ia64, gtkmm 3.18.0 failed to compile with gcc 4.7: /var/tmp/portage/dev-cpp/gtkmm-3.18.0-r1/work/gtkmm-3.18.0/gtk/gtkmm/menushell.cc:57:23: error: declaration of 'virtual Gtk::MenuShell::~MenuShell()' has a different exception specifier In file included from /var/tmp/portage/dev-cpp/gtkmm-3.18.0-r1/work/gtkmm-3.18.0/gtk/gtkmm/menushell.cc:6:0: /var/tmp/portage/dev-cpp/gtkmm-3.18.0-r1/work/gtkmm-3.18.0/gtk/gtkmm/menushell.h:78:11: error: from previous declaration 'virtual Gtk::MenuShell::~MenuShell() noexcept (true)' This is a regression from gtkmm 3.16.x. A similar issue was recently fixed on glibmm 2.46.x (bug #758798). Émeric
Created attachment 317055 [details] [review] Patched menushell.ccg fixing ~MenuShell() definition
Thanks. I have pushed that patch to git master and it will be in a 3.18.x release fairly soon. But please try to create a git format-patch patch next time. Also, the two similar fixes didn't need to be two patches in two bug reports.
Murray, when do you plan to make the new release including this fixes? Thanks a lot for the information :)