[MLton-commit] r4526

Stephen Weeks MLton@mlton.org
Wed, 10 May 2006 13:42:07 -0700


Tweaked last commit.  Keep -Wformat=2; turn off only
-Wformat-nonliteral.

----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/Makefile

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/Makefile
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/Makefile	2006-05-10 20:39:30 UTC (rev 4525)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/Makefile	2006-05-10 20:42:07 UTC (rev 4526)
@@ -71,8 +71,8 @@
 WARNCFLAGS += -W
 endif
 # -Wformat=2 implies -Wformat-nonliteral, which causes spurious warnings.
-# WARNCFLAGS += -Wformat=2
-WARNCFLAGS += -Wformat
+WARNCFLAGS += -Wformat=2
+WARNCFLAGS += -Wno-format-nonliteral
 # WARNCFLAGS += -Wswitch-default -Wswitch-enum
 WARNCFLAGS += -Wuninitialized 
 ifeq ($(findstring $(GCC_VERSION), 4),4)