Mercurial > hg > truffle
comparison make/linux/makefiles/gcc.make @ 14726:92aa6797d639
Backed out merge changeset: b51e29501f30
Backed out merge revision to its first parent (8f483e200405)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Mar 2014 21:30:43 +0100 |
parents | d72cee0607a3 |
children |
comparison
equal
deleted
inserted
replaced
14719:0bdd0d157040 | 14726:92aa6797d639 |
---|---|
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 | 218 WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wno-error=format-nonliteral |
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" |