FTBFS: warning: identifier 'noexcept' is a keyword in C++11 [-Wc++0x-compat]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibmm2.4 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
while subtitleeditor builds fine with glibmm2.4 version 2.44.0-1 [1] it fails with 2.45.40-0ubuntu1 [2].
The error is:
/usr/include/
The diff between both versions of glibmm2.4 show some changes with 'exception_
Best,
Philip
[1] https:/
[2] https:/
[3] http://
Related branches
Changed in glibmm2.4 (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- Build falis with glibmm2.4 2.45.40-0ubuntu1 + FTBFS: 'exception_handlers_invoke' is not a member of 'Glib' |
summary: |
- FTBFS: 'exception_handlers_invoke' is not a member of 'Glib' + FTBFS: warning: identifier 'noexcept' is a keyword in C++11 + [-Wc++0x-compat] |
glibmm 2.45.40 requires C++11, both for its own build and by any apps that use it. gtkmm also now requires C++11.
I think you are seeing a symptom of building the application without C++11 support. For instance, using CXXFLAGS= "--std= c++11", though you'd be better of using an m4 macro such as AX_CXX_ COMPILE_ STDCXX_ 11().