diff make/bsd/makefiles/gcc.make @ 14658:d72cee0607a3

8036122: Fix warning 'format not a string literal' Reviewed-by: mduigou, kvn
author goetz
date Mon, 03 Mar 2014 11:54:35 +0100
parents 2dd7abe7b841
children b51e29501f30
line wrap: on
line diff
--- a/make/bsd/makefiles/gcc.make	Tue Mar 04 09:57:16 2014 -0500
+++ b/make/bsd/makefiles/gcc.make	Mon Mar 03 11:54:35 2014 +0100
@@ -260,7 +260,7 @@
   WARNINGS_ARE_ERRORS += -Wno-empty-body
 endif
 
-WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wformat=2 -Wno-error=format-nonliteral
+WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wformat=2
 
 ifeq ($(USE_CLANG),)
   # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit