me-tv-1.4.0.10 building with GCC-6 fails if -Werror=terminate is included in CXXFLAGS
Bug #1676116 reported by
Peter Levine
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:/
To enable the expected pre-C++11 behavior, all throwing destructors need to be marked "noexcept(false)".
To post a comment you must log in.