Sfoglia il codice sorgente

Add -Wduplicated-cond on GCC 6

Nick Mathewson 8 anni fa
parent
commit
12517c7303
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      configure.ac

+ 1 - 0
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