Mercurial > hg > graal-compiler
diff make/linux/makefiles/gcc.make @ 10973:ef57c43512d6
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com
author | ccheung |
---|---|
date | Thu, 13 Jun 2013 22:02:40 -0700 |
parents | 2cb5d5f6d5e5 |
children | cc63bcb47cce |
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make Thu Jun 13 11:16:38 2013 -0700 +++ b/make/linux/makefiles/gcc.make Thu Jun 13 22:02:40 2013 -0700 @@ -214,7 +214,7 @@ WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body endif -WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function +WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value ifeq ($(USE_CLANG),) # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit