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

Bug #1676116 reported by Peter Levine on 2017-03-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Me TV
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)".

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  Edit
Everyone can see this information.

Other bug subscribers