aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-05-30 21:48:09 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-05-30 21:48:09 +0200
commit6dc54e8642dfd48096cf52c585c14f7ebe098486 (patch)
treea644a8b9e7d5fad45be116748f49d77b76c99402 /configure.ac
parente737e05009e88ea79df12aba4d863b5076d81b05 (diff)
downloaddabmux-6dc54e8642dfd48096cf52c585c14f7ebe098486.tar.gz
dabmux-6dc54e8642dfd48096cf52c585c14f7ebe098486.tar.bz2
dabmux-6dc54e8642dfd48096cf52c585c14f7ebe098486.zip
Suppress maybe-uninitialised warning due to false positives
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 926724c..23ecb80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,6 +93,7 @@ AS_IF([test "x$have_curl" = "xno"],
[AC_MSG_WARN([cURL not found, timestamps will not work])])
AC_LANG_PUSH([C++])
+AX_CHECK_COMPILE_FLAG([-Wno-maybe-uninitialized], [CXXFLAGS="$CXXFLAGS -Wno-maybe-uninitialized"], [], ["-Werror"])
AX_CHECK_COMPILE_FLAG([-Wduplicated-cond], [CXXFLAGS="$CXXFLAGS -Wduplicated-cond"], [], ["-Werror"])
AX_CHECK_COMPILE_FLAG([-Wduplicated-branches], [CXXFLAGS="$CXXFLAGS -Wduplicated-branches"], [], ["-Werror"])
AX_CHECK_COMPILE_FLAG([-Wlogical-op], [CXXFLAGS="$CXXFLAGS -Wlogical-op"], [], ["-Werror"])