looks like a recent change (August) in a library that translates calls to some "names" to "_names":
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/moldname.def.in?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot= src http://cvs.sourceforge.net/viewcvs.py/mingw/runtime/moldname.def.in?r1=1.6&r2=1.7 claus ----- Original Message ----- From: "Claus Reinke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 18, 2005 9:10 PM Subject: mingw, head, use of sleep in utils/prof/cgprof/main.c? > 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 _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
