BUild fainlure on Windows

Simon Marlow marlowsd at gmail.com
Fri Dec 9 10:03:48 CET 2011


On 08/12/2011 21:26, Simon Peyton-Jones wrote:
> Build failure on Windows again. This is from a clean rep. Any ideas?
>
> Simon
>
> "inplace/bin/ghc-stage1.exe" -optc-Wall -optc-Werror -optc-Wall
> -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs
> -optc-Wredundant-decls -optc-Iincludes -optc-Irts -optc-Irts/dist/build
> -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common
> -optc-fomit-frame-pointer -optc-DRtsWay=\"rts_thr\" -optc-DTHREADED_RTS
> -H32m -O -Wall -Werror -H64m -O0 -Iincludes -Irts -Irts/dist/build
> -DCOMPILING_RTS -package-name rts -dcmm-lint -i -irts -irts/dist/build
> -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen
> -optc-O2 -c rts/win32/OSThreads.c -o rts/dist/build/win32/OSThreads.thr_o
>
> cc1.exe: warnings being treated as errors
>
> rts\win32\OSThreads.c: In function 'forkOS_createThreadWrapper':
>
> rts\win32\OSThreads.c:229:5:
>
> error: passing argument 1 of 'rts_evalStableIO' from incompatible
> pointer type
>
> includes\RtsAPI.h:206:6:
>
> note: expected 'struct Capability **' but argument is of type 'struct
> Capability *'
>
> rts\win32\OSThreads.c:229:9:
>
> error: void value not ignored as it ought to be
>
> make[1]: *** [rts/dist/build/win32/OSThreads.thr_o] Error 1
>
> make[1]: *** Waiting for unfinished jobs....
>
> make: *** [all] Error 2

Probably my fault, I'll look into it.

Cheers,
	Simon




More information about the Cvs-ghc mailing list