Mercurial > hg > graal-compiler
diff make/bsd/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 | 1c6b721a3fbf |
children | 0806a46dced5 f509b8f4699b |
line wrap: on
line diff
--- a/make/bsd/makefiles/gcc.make Sat Sep 28 12:32:10 2013 +0400 +++ b/make/bsd/makefiles/gcc.make Sat Sep 28 12:42:22 2013 -0700 @@ -247,7 +247,7 @@ 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-unused-value -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses + WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-compare # Not yet supported by clang in Xcode 4.6.2 # WARNINGS_ARE_ERRORS += -Wno-tautological-constant-out-of-range-compare @@ -262,7 +262,7 @@ # conversions which might affect the values. Only enable it in earlier versions. WARNING_FLAGS = -Wunused-function ifeq ($(USE_CLANG),) - WARNINGS_FLAGS += -Wconversion + WARNING_FLAGS += -Wconversion endif endif