diff src/compiler.sml @ 1516:c4f39b49aa2d

A few more tweaks to support Clang (including ending use of nested functions)
author Adam Chlipala <adam@chlipala.net>
date Sat, 23 Jul 2011 16:27:04 -0400
parents 8c65218920cf
children 52fbd8534ef3
line wrap: on
line diff
--- a/src/compiler.sml	Sat Jul 23 09:42:34 2011 -0400
+++ b/src/compiler.sml	Sat Jul 23 16:27:04 2011 -0400
@@ -1320,7 +1320,7 @@
                   else
                       "-L" ^ Config.lib ^ "/.. -lurweb " ^ #linkDynamic proto
 
-        val compile = Config.ccompiler ^ " " ^ Config.gccArgs ^ " -Wimplicit -Werror -O3 -I " ^ Config.includ
+        val compile = Config.ccompiler ^ " " ^ Config.gccArgs ^ " -Wimplicit -Werror -Wno-unused-value -O3 -I " ^ Config.includ
                       ^ " " ^ #compile proto
                       ^ " -c " ^ escapeFilename cname ^ " -o " ^ escapeFilename oname