hotspot/make/linux/makefiles/gcc.make
changeset 22784 f264891fc7a8
parent 20295 a5dd1b071c32
child 22881 b16d7faa638d
--- a/hotspot/make/linux/makefiles/gcc.make	Tue Feb 11 21:32:19 2014 -0800
+++ b/hotspot/make/linux/makefiles/gcc.make	Wed Feb 12 09:37:18 2014 -0800
@@ -214,7 +214,7 @@
   WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body
 endif
 
-WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value
+WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wno-error=format-nonliteral
 
 ifeq ($(USE_CLANG),)
   # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit