mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Add -Wduplicated-cond on GCC 6
This commit is contained in:
parent
b14c1f4082
commit
12517c7303
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user