< prev index next >
make/bsd/makefiles/gcc.make
Print this page
rev 10160 : 8144695: --disable-warnings-as-errors does not work for HotSpot build
Reviewed-by: duke
*** 254,264 ****
CFLAGS += -pipe
endif
# Compiler warnings are treated as errors
ifneq ($(COMPILER_WARNINGS_FATAL),false)
! WARNINGS_ARE_ERRORS = -Werror
endif
ifeq ($(USE_CLANG), true)
# However we need to clean the code up before we can unrestrictedly enable this option with Clang
WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses
--- 254,264 ----
CFLAGS += -pipe
endif
# Compiler warnings are treated as errors
ifneq ($(COMPILER_WARNINGS_FATAL),false)
! WARNINGS_ARE_ERRORS ?= -Werror
endif
ifeq ($(USE_CLANG), true)
# However we need to clean the code up before we can unrestrictedly enable this option with Clang
WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses
< prev index next >