summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-12 18:48:40 +0100
committerMax Kellermann <max@musicpd.org>2017-11-12 18:54:29 +0100
commit18add294721e07ee776387f1520ccf3b0e6c7a5c (patch)
treeed0697f0dbd35ab8cd3494445972636fe4fbb27c
parentb111a8fe8d64ee9584ffc63f648dc1bce7c670d6 (diff)
configure.ac: disable -Wnoexcept-type
Workaround for #146.
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1be67c11b..5249044f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1385,6 +1385,11 @@ then
AX_APPEND_COMPILE_FLAGS([-Wcast-qual])
AX_APPEND_COMPILE_FLAGS([-Wwrite-strings])
AX_APPEND_COMPILE_FLAGS([-Wsign-compare])
+
+ dnl This GCC8 warning for C++17 ABI compatibility is of no
+ dnl interest for us, because we're not a shared library.
+ AX_APPEND_COMPILE_FLAGS([-Wno-noexcept-type])
+
AC_LANG_POP
fi