From 27f7489adc75310863df6116d447cfc0959f6526 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 May 2015 19:59:52 +0200 Subject: build: exclude -Wredundant-decls It's useless, and creates a bogus warning in subprocess-posix.c. Since I don't know which compilers might have it by default, just change it to -Wno-redundant-decls. --- TOOLS/old-configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TOOLS') diff --git a/TOOLS/old-configure b/TOOLS/old-configure index edc0dc1196..d4bb13ee66 100755 --- a/TOOLS/old-configure +++ b/TOOLS/old-configure @@ -376,7 +376,7 @@ addcflags() { cflag_check "$@" && OURCFLAGS="$OURCFLAGS $@" ; } OURCFLAGS="-std=c99 -Wall $_opt" addcflags -g -g3 -ggdb -addcflags -Wundef -Wmissing-prototypes -Wshadow -Wno-switch -Wparentheses -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-function +addcflags -Wundef -Wmissing-prototypes -Wshadow -Wno-switch -Wparentheses -Wpointer-arith -Wno-redundant-decls -Wno-pointer-sign -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-function # clang addcflags -Wno-logical-op-parentheses -fcolor-diagnostics -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare # extra -- cgit v1.2.3