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

Florian Weimer fw@deneb.enyo.de
Thu, 25 May 2006 12:39:05 +0200


* Stephen Weeks:

> Any ideas how to fix this problem?

Add -Wno-bad-function-cast, or introduce a temporary.  The warning is
quite pointless.  See

  <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02479.html>

for some examples.