Bug 222014 - x11-toolkits/gtkmm30 fails to build with gcc5
Summary: x11-toolkits/gtkmm30 fails to build with gcc5
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 01:57 UTC by Justin Hibbits
Modified: 2017-09-21 20:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2017-09-03 01:57:17 UTC
x11-toolkits/gtkmm30 uses the function std::stod(), which is not available on FreeBSD in gcc5 (guarded by c++11 and _GLIBCXX_USE_C99).  This has changed for gcc6.

Log snippet:

In file included from ../gtkmm/combobox.h:33:0,
                 from ../gtkmm/appchooserbutton.h:27,
                 from appchooserbutton.cc:6:
../gtkmm/treeview.h: In function 'void Gtk::TreeView_Private::_auto_store_on_cellrenderer_text_edited_numerical(const Glib::ustring&, const Glib::ustring&, int, const Glib::RefPtr<Gtk::TreeModel>&)':
../gtkmm/treeview.h:2454:47: error: 'stod' is not a member of 'std'
         new_value =  static_cast<ColumnType>( std::stod(new_text) );
Comment 1 John Baldwin freebsd_committer freebsd_triage 2017-09-12 19:50:17 UTC
Gerald just updated the default GCC to GCC 6.  Does that fix this?
Comment 2 Justin Hibbits freebsd_committer freebsd_triage 2017-09-21 20:55:38 UTC
Looks like it.  Closing.