From 5b10ba2ce22a5392a49776490db64d641a14a38c Mon Sep 17 00:00:00 2001 From: "kostja@bodhi.(none)" <> Date: Thu, 30 Aug 2007 21:19:05 +0400 Subject: [PATCH] Add -Wno-unused to --warning-mode=pedantic, otherwise sql/ compilation generated so many warnings that the mode was unusable. --- BUILD/SETUP.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index dc439e68c45..e940f7a3371 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -105,7 +105,7 @@ if [ "x$warning_mode" != "xpedantic" ]; then # Added unless --with-debug=full debug_extra_cflags="-O1 -Wuninitialized" else - warnings="-W -Wall -ansi -pedantic -Wno-long-long -D_POSIX_SOURCE" + warnings="-W -Wall -ansi -pedantic -Wno-long-long -Wno-unused -D_POSIX_SOURCE" c_warnings="$warnings" cxx_warnings="$warnings -std=c++98" # NOTE: warning mode should not influence optimize/debug mode.