Fails to build with C++17
Description:
Fails to build. Requires building with C++11.
Adding CXXFLAGS="$CXXFLAGS -std=c++11"
fixes the build.
Additional info:
- package version(s):
0.87-3
- config and/or log files:
In file included from CharsetConverter.cc:5:
CharsetConverter.h:20:90: error: ISO C++17 does not allow dynamic exception specifications
20 | CharsetConverter(const std::string &from, const std::string &to) throw (Exception);
| ^~~~~
CharsetConverter.cc:10:74: error: ISO C++17 does not allow dynamic exception specifications
10 | CharsetConverter::CharsetConverter(const string &from, const string &to) throw (Exception)
| ^~~~~
In file included from tests.cc:6:
CharsetConverter.h:20:90: error: ISO C++17 does not allow dynamic exception specifications
20 | CharsetConverter(const std::string &from, const std::string &to) throw (Exception);
| ^~~~~
make[2]: *** [Makefile:728: libhtmlcxx_la-CharsetConverter.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
- link to upstream bug report, if any: https://www.mail-archive.com/bug-guix@gnu.org/msg35008.html