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 590353 - GtkBuilder header is inconsistent in exception/error handling
GtkBuilder header is inconsistent in exception/error handling
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2009-07-31 09:02 UTC by Johannes Schmid
Modified: 2009-07-31 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch to fix this (4.58 KB, patch)
2009-07-31 09:09 UTC, Johannes Schmid
committed Details | Review

Description Johannes Schmid 2009-07-31 09:02:02 UTC
In builder.hg:

static Glib::RefPtr<Builder> create_from_file(const std::string& filename, const Glib::ustring& object_id);

static Glib::RefPtr<Builder> create_from_file(const std::string& filename, const char* object_id);

static Glib::RefPtr<Builder> create_from_file(const std::string& filename, const Glib::StringArrayHandle& object_ids);

are also declared while their definitions in builder.hg are #ifdef'd with GLIBMM_EXCEPTIONS_ENABLED. The results in linker errors on platform building without exceptions.
Comment 1 Johannes Schmid 2009-07-31 09:09:56 UTC
Created attachment 139615 [details] [review]
Proposed patch to fix this
Comment 2 Murray Cumming 2009-07-31 12:21:34 UTC
Please commit to any relevant branches.
Comment 3 Johannes Schmid 2009-07-31 13:09:27 UTC
Committed to master and gtkmm-2-14