[MLton-commit] r7518

Wesley Terpstra wesley at mlton.org
Sun Mar 20 14:42:41 PST 2011


gcc 4.5.2 complains about long long usage with -Wlong-long even in C99 mode.
Therefore, remove this warning option.


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

U   mlton/trunk/package/debian/patches/11-fixes-20100608-to-20110319.patch
U   mlton/trunk/runtime/Makefile

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

Modified: mlton/trunk/package/debian/patches/11-fixes-20100608-to-20110319.patch
===================================================================
--- mlton/trunk/package/debian/patches/11-fixes-20100608-to-20110319.patch	2011-03-20 22:33:37 UTC (rev 7517)
+++ mlton/trunk/package/debian/patches/11-fixes-20100608-to-20110319.patch	2011-03-20 22:42:41 UTC (rev 7518)
@@ -675,3 +675,15 @@
        in
           if FS.isLink file
              then (dirs, files)
+Index: runtime/Makefile
+===================================================================
+--- mlton.orig/runtime/Makefile	(revision 7509)
++++ mlton/runtime/Makefile	(working copy)
+@@ -179,7 +179,6 @@
+ # WARNCFLAGS += -Wpadded
+ WARNCFLAGS += -Wredundant-decls
+ WARNCFLAGS += -Wnested-externs
+-WARNCFLAGS += -Wlong-long
+ # WARNCFLAGS += -Wunreachable-code
+ WARNCFLAGS += $(WARNFLAGS)
+ 

Modified: mlton/trunk/runtime/Makefile
===================================================================
--- mlton/trunk/runtime/Makefile	2011-03-20 22:33:37 UTC (rev 7517)
+++ mlton/trunk/runtime/Makefile	2011-03-20 22:42:41 UTC (rev 7518)
@@ -179,7 +179,6 @@
 # WARNCFLAGS += -Wpadded
 WARNCFLAGS += -Wredundant-decls
 WARNCFLAGS += -Wnested-externs
-WARNCFLAGS += -Wlong-long
 # WARNCFLAGS += -Wunreachable-code
 WARNCFLAGS += $(WARNFLAGS)
 




More information about the MLton-commit mailing list