[tor-commits] [tor/master] Add -Wduplicated-cond on GCC 6
nickm at torproject.org
nickm at torproject.org
Sat Jun 11 14:16:58 UTC 2016
commit 12517c73039afa5632b475a447e277a0ec73fbd5
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon May 30 12:05:08 2016 -0400
Add -Wduplicated-cond on GCC 6
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 4878d2b..d9149e2 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
More information about the tor-commits
mailing list