From: Nick Mathewson Date: Mon, 30 May 2016 16:05:08 +0000 (-0400) Subject: Add -Wduplicated-cond on GCC 6 X-Git-Tag: tor-0.2.9.1-alpha~183^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12517c73039afa5632b475a447e277a0ec73fbd5;p=thirdparty%2Ftor.git Add -Wduplicated-cond on GCC 6 --- diff --git a/configure.ac b/configure.ac index 4878d2ba7e..d9149e26ec 100644 --- a/configure.ac +++ b/configure.ac @@ -1777,6 +1777,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [ if test "x$have_gcc6" = "xyes"; then CFLAGS="$CFLAGS -Wignored-attributes -Wshift-negative-value -Wshift-overflow=2" CFLAGS="$CFLAGS -Wnull-dereference" + CFLAGS="$CFLAGS -Wduplicated-cond" fi if test "x$have_shorten64_flag" = "xyes"; then