mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
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:
parent
acbb7d57a5
commit
511eaf9b9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user