summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-08-20 15:12:36 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-08-20 15:12:36 +0200
commit4cf48cce116192b5bcdf0656c026f6403026f88e (patch)
treec2ba4c75a058567d724b3977e15e483903c1f655 /configure.ac
parentdcbf473dd5a0abedd26a0a668d04820d398c1e37 (diff)
downloadODR-AudioEnc-4cf48cce116192b5bcdf0656c026f6403026f88e.tar.gz
ODR-AudioEnc-4cf48cce116192b5bcdf0656c026f6403026f88e.tar.bz2
ODR-AudioEnc-4cf48cce116192b5bcdf0656c026f6403026f88e.zip
Update common code
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 d16fa64..ce7d8e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,7 @@ AX_CHECK_COMPILE_FLAG([-Wrestrict], [CFLAGS="$CFLAGS -Wrestrict"], [], ["-Werror
AX_CHECK_COMPILE_FLAG(["-Wformat=2"], [CFLAGS="$CFLAGS -Wformat=2"], [], ["-Werror"])
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"])