Hi all, I just pulled this morning from HEAD and tried to validate in Linux 
(using gcc 4.6.1), and I got a lot of 
C errors from RTS type incompatibilities. Some are:

rts/Linker.c: In function 'mmapForLinker':

rts/Linker.c:1641:8:
     error: format '%lu' expects argument of type 'long unsigned int', but 
argument 2 has type 'unsigned int' [-Werror=format]
rts/Linker.c: In function 'do_Elf_Rel_relocations':

rts/Linker.c:4585:19:
     error: format '%lu' expects argument of type 'long unsigned int', but 
argument 3 has type 'Elf32_Addr' [-Werror=format]
rts/Linker.c: In function 'do_Elf_Rela_relocations':

rts/Linker.c:4879:19:
     error: format '%lu' expects argument of type 'long unsigned int', but 
argument 3 has type 'Elf32_Addr' [-Werror=format]
cc1: all warnings being treated as errors

make[1]: *** [rts/dist/build/Linker.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

Before that, I got an error at  ghc/hschooks.c (last line, type cast warning 
between lnat and size_t, which I temporarily solved with inserting a cast)

What's going on????

Thanks!
d-







_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to