From: Boyuan Yang Date: Tue, 12 Oct 2021 13:46:03 -0400 Subject: autoconf: Enforce c++14 GCC 11 uses C++17 by default, which causes the following error: error: ISO C++17 does not allow dynamic exception specifications As a result, use C++14 to circumvent FTBFS. --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index d47f4eb..44af720 100644 --- a/configure.in +++ b/configure.in @@ -52,6 +52,9 @@ fi dnl output all warnings CXXFLAGS="-Wall $CXXFLAGS" +dnl Debian-specific: Enforce C++14 (not C++17) +AX_CHECK_COMPILE_FLAG([-std=c++14], [CXXFLAGS="$CXXFLAGS -std=c++14"]) + dnl use libtool AM_PROG_LIBTOOL