validate fails
Simon Marlow
simonmarhaskell at gmail.com
Thu Jan 3 09:57:08 EST 2008
Isaac Dupree wrote:
> ]./validate #compiling ghc HEAD
>
> ...
>
> ../compiler/ghc-inplace -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-fomit-frame-pointer -optc-I../gmp/gmpbuild
> -optc-fno-strict-aliasing -optc-w -H128m -O -fasm -optc-O2 -I../includes
> -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -static
> -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint -c
> RetainerProfile.c -o RetainerProfile.o
> cc1: warnings being treated as errors
> ../includes/SMP.h: In function 'unlockTSO':
>
> ../includes/SMP.h:339:0:
> warning: passing argument 2 of 'unlockClosure' discards qualifiers
> from pointer target type
> make[1]: *** [RaiseAsync.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [stage1] Error 1
I just pushed a patch that I hope fixes this, please let me know if not.
Cheers,
Simon
More information about the Cvs-ghc
mailing list