This comes from:
commit 58532eb46041aec8d4cbb48b054cb5b001edb43c
Author: Spencer Janssen <[email protected]>
Date: Thu Apr 14 01:11:05 2011 -0500
Add capability sets to the event system. Contains code from Duncan
Coutts.
It's a bit too posixy, it uses getppid() which isn't in the Windows
C-runtime lib. I just ifdeffed in 0 there instead to get it working. It is
pretty cumbersome to find out what the parent process is on Windows, but it
can be done with the toolhelp api in case there is a real need for it.
Didn't there use to be a Windows buildbot?
// Niklas
2011/5/20 Johan Tibell <[email protected]>
> Duncan, didn't you add capabilities sets recently?
>
> On Fri, May 20, 2011 at 4:11 PM, Simon Peyton-Jones
> <[email protected]> wrote:
> > 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
> >
> >
>
> _______________________________________________
> Cvs-ghc mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/cvs-ghc
>
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc