diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-05-30 21:48:09 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-05-30 21:48:09 +0200 |
commit | 6dc54e8642dfd48096cf52c585c14f7ebe098486 (patch) | |
tree | a644a8b9e7d5fad45be116748f49d77b76c99402 | |
parent | e737e05009e88ea79df12aba4d863b5076d81b05 (diff) | |
download | dabmux-6dc54e8642dfd48096cf52c585c14f7ebe098486.tar.gz dabmux-6dc54e8642dfd48096cf52c585c14f7ebe098486.tar.bz2 dabmux-6dc54e8642dfd48096cf52c585c14f7ebe098486.zip |
Suppress maybe-uninitialised warning due to false positives
-rw-r--r-- | configure.ac | 1 |
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"]) |