-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
Blocks rxvt-unicode
-
The source code is incompatible with C++17, which is the default dialect in GCC-11.
Attempting to build rxvt-unicode-9.22-r3 on current Next, and emake fails.
./../libev/ev+.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
379 | default_loop (unsigned int flags = AUTO) throw (bad loop)
An internet search led me to:
https://www.reddit.com/r/archlinux/comments/nn7s77/c17_does_not_allow_dynamic_exception/
As stated:
"solution was to add
CXXFLAGS="-std=c++14"
to the top of the build() function in PKGBUILD"
This led me to re-try emerging rxvt-unicode with:
CXXFLAGS="-std=c++14" emerge -av rxvt-unicode
to a successful build, and expected operation when running the terminal.
See, also: