diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-04-10 10:59:34 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-04-10 10:59:34 +0200 |
commit | 643206925cb2bbc4e30c98dc4a0b29326a11846e (patch) | |
tree | 4ce15582a20aea231559564947678eed708496b6 | |
parent | 35599ee9c8a2822c0f480673b4d8d8e87049094c (diff) | |
download | dabmod-643206925cb2bbc4e30c98dc4a0b29326a11846e.tar.gz dabmod-643206925cb2bbc4e30c98dc4a0b29326a11846e.tar.bz2 dabmod-643206925cb2bbc4e30c98dc4a0b29326a11846e.zip |
Suppress ASIO warnings, remove -Wshadow, add -Wno-pragmas
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0e7d946..a4c539b 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ AX_CHECK_COMPILE_FLAG([-Wduplicated-cond], [CXXFLAGS="$CXXFLAGS -Wduplicated-con AX_CHECK_COMPILE_FLAG([-Wduplicated-branches], [CXXFLAGS="$CXXFLAGS -Wduplicated-branches"], [], ["-Werror"]) AX_CHECK_COMPILE_FLAG([-Wlogical-op], [CXXFLAGS="$CXXFLAGS -Wlogical-op"], [], ["-Werror"]) AX_CHECK_COMPILE_FLAG([-Wrestrict], [CXXFLAGS="$CXXFLAGS -Wrestrict"], [], ["-Werror"]) -AX_CHECK_COMPILE_FLAG([-Wshadow], [CXXFLAGS="$CXXFLAGS -Wshadow"], [], ["-Werror"]) +AX_CHECK_COMPILE_FLAG([-Wno-pragmas], [CXXFLAGS="$CXXFLAGS -Wno-pragmas"], [], ["-Werror"]) AX_CHECK_COMPILE_FLAG([-Wdouble-promotion], [CXXFLAGS="$CXXFLAGS -Wdouble-promotion"], [], ["-Werror"]) AX_CHECK_COMPILE_FLAG(["-Wformat=2"], [CXXFLAGS="$CXXFLAGS -Wformat=2"], [], ["-Werror"]) AC_LANG_POP([C++]) |