Re: disulfinder: ftbfs with GCC-11
On Wed, 03 Mar 2021 16:11:37 +0000 Matthias Klose <doko@debian.org> wrote:
BRNN/RNNs/Options.h:69:5: error: ISO C++17 does not allow dynamic exception specifications
69 | throw(BadOptionSetting);
| ^~~~~
BRNN/RNNs/Options.h:143:5: error: ISO C++17 does not allow dynamic exception specifications
143 | throw(BadOptionSetting);
| ^~~~~
BRNN/RNNs/Options.h:180:5: error: ISO C++17 does not allow dynamic exception specifications
180 | throw(BadOptionSetting);
| ^~~~~
Hi all,
looks like C++17 has removed the provision to specify custom exceptions, and there are a lot of errors
like the one above.
In this case, does it makes sense to force C++14 standard (with chnages in d/rules or with patches) in such cases and ask upstream to
clean these up? Or do I miss a relatively easy solutions?
Let me know
Nilesh
Reply to: