-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
This is due to new behavior in c++17 which is now the default for g++
/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../code -I../../code -DINSTALLDIR=\"/usr/bin\" -D__STDC_LIMIT_MACROS -D_4ti2_GMP_ -march=native -O2 -pipe -c -o PolyTree.lo PolyTree.cpp
In file included from count.h:35,
from count.cpp:26:
ExponentialSubst.h:62:3: error: ISO C++17 does not allow dynamic exception specifications
62 | throw(NotGenericException);
| ^~~~~
ExponentialSubst.h:67:3: error: ISO C++17 does not allow dynamic exception specifications
67 | throw(NotGenericException);
| ^~~~~
See https://gcc.gnu.org/gcc-11/porting_to.html in the section on "Dynamic Exception Specifications".
Metadata
Metadata
Assignees
Labels
No labels