while trying to update my copy of cvs head (mingw/cygwin/winxp), configure complained about needing a newer ld, so I updated my mingw installation. the build is running along now, but I ran into a problem with old code in utils/prof/cgprof/main.c, which uses "sleep", which doesn't really seem to exist under windows.
mingw provides _sleep (stdlib.h) and Sleep (winbase.h), and the former seems deprecated, according to comments. compare http://sourceforge.net/mailarchive/message.php?msg_id=1013788 http://sourceforge.net/mailarchive/message.php?msg_id=11321871 (the workaround seems to be to define sleep as Sleep or _sleep, with a factor of 1000, when under windows). the issue seems an old one, so I don't know why this ever compiled (perhaps mingw implicitly linked sleep to _sleep, and dropped that support in newer versions?)? cheers, claus _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
