After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759262 - Build failure: menushell.cc:57:23: error: 'virtual Gtk::MenuShell::~MenuShell()' has a different exception specifier
Build failure: menushell.cc:57:23: error: 'virtual Gtk::MenuShell::~MenuShell...
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: build
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
https://bugzilla.gnome.org/show_bug.c...
Depends on:
Blocks:
 
 
Reported: 2015-12-09 16:58 UTC by Émeric MASCHINO
Modified: 2016-01-10 18:30 UTC
See Also:
GNOME target: ---
GNOME version: 3.17/3.18


Attachments
build.log (344.91 KB, text/plain)
2015-12-09 16:58 UTC, Émeric MASCHINO
  Details
Patched menushell.ccg fixing ~MenuShell() definition (342 bytes, patch)
2015-12-09 17:01 UTC, Émeric MASCHINO
none Details | Review

Description Émeric MASCHINO 2015-12-09 16:58:43 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
Comment 1 Émeric MASCHINO 2015-12-09 17:01:27 UTC
Created attachment 317055 [details] [review]
Patched menushell.ccg fixing ~MenuShell() definition
Comment 2 Murray Cumming 2015-12-09 19:47:42 UTC
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.
Comment 3 Pacho Ramos 2016-01-10 18:30:59 UTC
Murray, when do you plan to make the new release including this fixes? Thanks a lot for the information :)