Summary: | dev-cpp/htmlcxx-0.87 - /.../CharsetConverter.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | James Le Cuirot <chewi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
emerge-info.txt
dev-cpp:htmlcxx-0.87:20210429-042558.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2021-04-29 07:20:12 UTC
Created attachment 703707 [details]
emerge-info.txt
Created attachment 703710 [details]
dev-cpp:htmlcxx-0.87:20210429-042558.log
Created attachment 703713 [details]
emerge-history.txt
Created attachment 703716 [details]
environment
Created attachment 703719 [details]
etc.portage.tar.bz2
Created attachment 703722 [details]
logs.tar.bz2
Created attachment 703725 [details]
temp.tar.bz2
I am able to reproduce. This is definitely related to gcc-11 defaulting to "-std=c++17", a workaround is to set the previous default of "-std=c++11" in CXXFLAGS which works. (In reply to Alfred Wingate from comment #8) > I am able to reproduce. This is definitely related to gcc-11 defaulting to > "-std=c++17", a workaround is to set the previous default of "-std=c++11" in > CXXFLAGS which works. I am mistaken. Previous default was "-std=c++14". The above still applies but for "-std=c++14". The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b7c15da117ceb50850679f14573de8a1e22e4e commit f7b7c15da117ceb50850679f14573de8a1e22e4e Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-06-01 21:54:20 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-06-01 21:55:09 +0000 dev-cpp/htmlcxx: Patch to fix building with GCC 11 / C++-17 Closes: https://bugs.gentoo.org/786684 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org> dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch | 26 ++++++++++++++++++++++++++ dev-cpp/htmlcxx/htmlcxx-0.87.ebuild | 6 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) |