make/linux/makefiles/gcc.make

changeset 6472
2b8e28fdf503
parent 6462
e2722a66aba7
parent 5797
f2512d89ad0c
child 6876
710a3c8b516e
child 7598
ddce0b7cee93
equal deleted inserted replaced
6471:3068270ba476 6472:2b8e28fdf503
207 # Compiler warnings are treated as errors 207 # Compiler warnings are treated as errors
208 WARNINGS_ARE_ERRORS = -Werror 208 WARNINGS_ARE_ERRORS = -Werror
209 209
210 ifeq ($(USE_CLANG), true) 210 ifeq ($(USE_CLANG), true)
211 # However we need to clean the code up before we can unrestrictedly enable this option with Clang 211 # However we need to clean the code up before we can unrestrictedly enable this option with Clang
212 WARNINGS_ARE_ERRORS += -Wno-unused-value -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses 212 WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses
213 WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare 213 WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare
214 WARNINGS_ARE_ERRORS += -Wno-delete-non-virtual-dtor -Wno-deprecated -Wno-format -Wno-dynamic-class-memaccess 214 WARNINGS_ARE_ERRORS += -Wno-delete-non-virtual-dtor -Wno-deprecated -Wno-format -Wno-dynamic-class-memaccess
215 WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body 215 WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body
216 endif 216 endif
217 217

mercurial