[tor/master] Add -Wduplicated-cond on GCC 6

11 Jun
2016
11 Jun
'16
2:16 p.m.
commit 12517c73039afa5632b475a447e277a0ec73fbd5 Author: Nick Mathewson <nickm@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
3288
Age (days ago)
3288
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org