Mercurial > hg > truffle
comparison make/linux/makefiles/gcc.make @ 14716:03704aa6e71b
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 21 Mar 2014 13:54:43 +0100 |
parents | d72cee0607a3 |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
14715:4ea4db3f23ba | 14716:03704aa6e71b |
---|---|
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 |
218 WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wno-error=format-nonliteral | 218 WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 |
219 | 219 |
220 ifeq ($(USE_CLANG),) | 220 ifeq ($(USE_CLANG),) |
221 # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit | 221 # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit |
222 # conversions which might affect the values. Only enable it in earlier versions. | 222 # conversions which might affect the values. Only enable it in earlier versions. |
223 ifeq "$(shell expr \( $(CC_VER_MAJOR) \> 4 \) \| \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0" | 223 ifeq "$(shell expr \( $(CC_VER_MAJOR) \> 4 \) \| \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0" |