From 9b014da88067361330dc70649fd44b263c38b37b Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Fri, 13 Aug 1999 00:52:27 +0000 Subject: [PATCH] Take out -Wbad-function-cast and -Wconversion for gcc. These gave more noise than helpful warnings. We can add them back in later if we run out of warnings to fix. a=don --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index a4048623185..52e66ba9f37 100644 --- a/configure.in +++ b/configure.in @@ -200,7 +200,10 @@ if test "$GNU_CC"; then # be a little bit stricter # -pipe - speeds up the build a little by using pipes rather than # temp files - _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wall -Wconversion -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align" + # Warnings slamm took out for now (these were giving more noise than help): + # -Wbad-function-cast - warns when casting a function to a new return type + # -Wconversion - complained when char's or short's were used a function args + _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wall -Wshadow -Wpointer-arith -Wcast-align" _DEFINES_CFLAGS='-include $(DEPTH)/config-defs.h' _USE_CPP_INCLUDE_FLAG=1