Mercurial > hg > truffle
diff make/solaris/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 | b6ab2c9abfc5 |
children | 92aa6797d639 |
line wrap: on
line diff
--- a/make/solaris/makefiles/gcc.make Tue Mar 04 09:57:16 2014 -0500 +++ b/make/solaris/makefiles/gcc.make Mon Mar 03 11:54:35 2014 +0100 @@ -118,7 +118,7 @@ # Compiler warnings are treated as errors WARNINGS_ARE_ERRORS = -Werror # Enable these warnings. See 'info gcc' about details on these options -WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2 -Wno-error=format-nonliteral +WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS) # Special cases CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@))