comparison make/linux/makefiles/gcc.make @ 12329:f2512d89ad0c

8025613: clang: remove -Wno-unused-value Reviewed-by: iveresov
author twisti
date Sat, 28 Sep 2013 12:42:22 -0700
parents badf4244ceae
children b6ab2c9abfc5 2b8e28fdf503
comparison
equal deleted inserted replaced
12328:303826f477c6 12329:f2512d89ad0c
206 # Compiler warnings are treated as errors 206 # Compiler warnings are treated as errors
207 WARNINGS_ARE_ERRORS = -Werror 207 WARNINGS_ARE_ERRORS = -Werror
208 208
209 ifeq ($(USE_CLANG), true) 209 ifeq ($(USE_CLANG), true)
210 # However we need to clean the code up before we can unrestrictedly enable this option with Clang 210 # However we need to clean the code up before we can unrestrictedly enable this option with Clang
211 WARNINGS_ARE_ERRORS += -Wno-unused-value -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses 211 WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses
212 WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare 212 WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare
213 WARNINGS_ARE_ERRORS += -Wno-delete-non-virtual-dtor -Wno-deprecated -Wno-format -Wno-dynamic-class-memaccess 213 WARNINGS_ARE_ERRORS += -Wno-delete-non-virtual-dtor -Wno-deprecated -Wno-format -Wno-dynamic-class-memaccess
214 WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body 214 WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body
215 endif 215 endif
216 216