Trying to validate the HEAD on MacOS 10.5 fails with

../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 -Werror -H64m -Onot - fasm -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS - package-name rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h - dcmm-lint -c sm/BlockAlloc.c -o sm/BlockAlloc.o
cc1: warnings being treated as errors
posix/OSMem.c: In function 'my_mmap':

posix/OSMem.c:96:0:
     warning: 'err' may be used uninitialized in this function
make[1]: *** [posix/OSMem.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [stage1] Error 1

This is MacOS 10.5 aka Leopard, so maybe it is an OS dependency. Does it work elsewhere or was the file not warning cleaned?

Manuel

PS: Good news is that it actually got that far on the new MacOS without any tweaks.

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to