GNOME Bugzilla – Bug 780709
[PATCH] gexiv2 0.10.5 compilation fails: error: ‘overflow_error’ is not a member of ‘std’
Last modified: 2017-04-05 18:48:03 UTC
Hi! gexiv2 release 0.10.5 fails compilation with: [..] gexiv2/gexiv2-metadata-gps.cpp: In function ‘double convert_rational(const Rational&)’: gexiv2/gexiv2-metadata-gps.cpp:29:15: error: ‘overflow_error’ is not a member of ‘std’ throw std::overflow_error("Invalid fraction"); ^ [..] There is a patch by Markus Moll at https://613778.bugs.gentoo.org/attachment.cgi?id=468340 that works well for me. It was introduces at https://bugs.gentoo.org/show_bug.cgi?id=613778#c4 Please consider its application. Thanks and best Sebastian
Thanks
Created attachment 349315 [details] [review] Add missing include And while at it, use a more fitting exception Signed-off-by: Jens Georg <mail@jensge.org>
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.