Simon Peyton-Jones wrote:
Recent patch to threads.c seems to have broken windows. Pls fix or advise!
urk, I stopped ignoring warnings in that module, and it looks like there
was a warning lurking inside #ifdef mingw32.
I'm not by a Windows machine right now, but you could try replacing %ld
by %u on line 701 of Threads.c
Cheers,
Simon
Unpulling: Fix race condition in wakeupThreadOnCapability() (#2574)
did not fix
Thanks
Simon
c:/simonpj/darcs/HEAD/ghc/stage1-inplace/ghc -optc-Werror -optc-Wall
-optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes
-optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
-optc-I../includes -optc-I. -optc-Iparallel -optc-Ism
-optc-DCOMPILING_RTS -optc-g -optc-O0 -optc-I../gmp/gmpbuild
-optc-I../libffi/build/include -optc-fno-strict-aliasing -fvia-C
-static -I../gmp/gmpbuild -I../libffi/build/include -I. -dcmm-lint
-hisuf debug_hi -hcsuf debug_hc -osuf debug_o -optc-DDEBUG -c Ticky.c
-o Ticky.debug_o
Threads.c: In function `printThreadBlockage':
Threads.c:701:0:
warning: long int format, unsigned int arg (arg 2)
make[2]: *** [Threads.debug_o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all] Error 1
make[1]: Leaving directory `/c/simonpj/darcs/HEAD/rts'
make: *** [stage1] Error 2
sh-2.04$
------------------------------------------------------------------------
_______________________________________________
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