I'm getting this build failure on a clean "sh validate" on Windows.  All the 
configure stuff has happened from scratch.  Anyone got 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-DCOMPILING_RTS -optc-fno-strict-aliasing 
-optc-fno-common -optc-Ilibffi/build/include -optc-fomit-frame-pointer 
-optc-DRtsWay=\"rts_l\" -eventlog  -H32m -O -Wall -Werror -H64m -O0 -Iincludes 
-Irts -DCOMPILING_RTS -package-name rts  -dcmm-lint  -Ilibffi/build/include     
-i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build 
-Irts/dist/build/autogen           -optc-O2   -c rts/WSDeque.c -o 
rts/dist/build/WSDeque.l_o
cc1.exe: warnings being treated as errors

rts\Trace.c:290:1:  error: function declaration isn't a prototype

rts\Trace.c:290:15:
     error: redundant redeclaration of '__p__environ'
c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdlib.h:149:51:
 note: previous declaration of '__p__environ' was here
rts\Trace.c: In function 'traceCapsetDetails_':

rts\Trace.c:297:31:
     error: implicit declaration of function 'getppid'

rts\Trace.c:297:31:  error: nested extern declaration of 'getppid'
make[1]: *** [rts/dist/build/Trace.l_o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to