[MLton] "cast does not match function type" warning on Cygwin

Wesley W. Terpstra wesley@terpstra.ca
Thu, 25 May 2006 13:12:43 +0200


On May 25, 2006, at 9:04 AM, Stephen Weeks wrote:
>   platform/cygwin.c:12: warning: cast does not match function type

I also get this on MinGW, but have been ignoring it. The cast is the  
right thing to do; it works and everyone else seems to do it. I think  
the prototype in the headers is somehow strange.

If Florian is right (I can't test this), then just silence it with a  
temporary as he suggests.