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

This commit is contained in:
slamm%netscape.com 1999-08-13 00:52:27 +00:00
parent acbb7d57a5
commit 511eaf9b9f

View File

@ -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