me-tv-1.4.0.10 building with GCC-6 fails if -Werror=terminate is included in CXXFLAGS

Bug #1676116 reported by Peter Levine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Me TV
New
Undecided
Unassigned

Bug Description

When building with C++11 dialect or newer, all throw statements in destructors that are not explicitly marked as "noexcept(false)" will become calls to "std::terminate()", and building with "-Werror=terminate" will fail with "error: throw will always call terminate()".

See https://bugs.gentoo.org/show_bug.cgi?id=613426

To enable the expected pre-C++11 behavior, all throwing destructors need to be marked "noexcept(false)".

Revision history for this message
Peter Levine (plevine) wrote :
summary: - me-tv-1.4.0.10 build fails if -Werror=terminate is included in CXXFLAGS
+ me-tv-1.4.0.10 building with GCC-6 fails if -Werror=terminate is
+ included in CXXFLAGS
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.