[MLton-devel] mGTK for MLton status

Ken Friis Larsen ken@friislarsen.net
18 Aug 2003 07:14:10 +0100


Stephen Weeks <sweeks@sweeks.com> writes:
> > I just got annoyed about the warnings that gcc spew at me.  And
> > instead of putting the appropiate casts in mgtk-mlton.c I thought
> > that it was cleaner to just edit mgtk-mlton.h by hand and stop
> > regenerating it ever time something changed in mgtk.cm.
> 
> It seems cleaner to me to put the casts at the one call in
> mgtk-mlton.c and leave the auto-generated file alone.

OK

> That way, if MLton auto-generates a different file, you don't have
> to change anything.  Also, you will become alerted to possible
> inconsistencies if the SML _exports change or MLton changes the
> exports in some way.

The last point seems like a good reason to change.  Will do.

> 
> MLton 20030716 generates a different file than the version you are
> using -- not substantially, but enough so you don't need the -I to get
> the types.h include.

OK.  I'll look into this in a few weeks time... 


Cheers,

--Ken



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel