[MLton-commit] r4158

Stephen Weeks MLton@mlton.org
Fri, 4 Nov 2005 14:09:12 -0800


Compile MLton with warnUnused true.

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

U   mlton/trunk/mlton/Makefile

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

Modified: mlton/trunk/mlton/Makefile
===================================================================
--- mlton/trunk/mlton/Makefile	2005-11-04 22:08:41 UTC (rev 4157)
+++ mlton/trunk/mlton/Makefile	2005-11-04 22:09:10 UTC (rev 4158)
@@ -23,6 +23,7 @@
   # We're compiling MLton with itself, so don't use any stubs.
   FILE = mlton.mlb
   FLAGS += -default-ann 'sequenceNonUnit warn'
+  FLAGS += -default-ann 'warnUnused true'
 else
 ifeq (cygwin, $(HOST_OS))
   # The stubs don't work on Cygwin, since they define spawn in terms of