Re: Windows build broken

Tamar Christina lonetiger at gmail.com
Tue Mar 3 23:17:22 UTC 2015


Hi,


Yes, sorry about that, I’m trying to reproduce it locally but no luck so far.. (waiting for a clean checkout to finish now)


But the fix is probably to swap the definition of 


Excn.h and PosixSource.h in RtsMain.c or moving Excn.h to the bottom of the include list.


Something in Excn.h must be using _mingw.h which will define the macro if not defined.


Adding PosixSource to the top would make sure it is defined before anything else.


Regards,

Tamar





From: Austin Seipp
Sent: ‎Wednesday‎, ‎March‎ ‎4‎, ‎2015 ‎00‎:‎14
To: Simon Peyton Jones
Cc: ghc-devs at haskell.org





This must be fallout from the VEH handler change I pushed earlier -
5200bdeb26c5ec98739b14b10fc8907296bceeb9.

I'll try to fix/revert shortly.

On Tue, Mar 3, 2015 at 4:30 PM, Simon Peyton Jones
<simonpj at microsoft.com> wrote:
> AAARGH!  Windows build is broken again.
>
> Please can someone fix?
>
>
>
> In file included from rts\RtsMain.c:12:0:
>
>
>
> rts\PosixSource.h:31:0:  error: "__USE_MINGW_ANSI_STDIO" redefined
>
> c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0:
> note: this is the location of the previous definition
>
> rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed
>
> make[1]: *** [rts/dist/build/RtsMain.o] Error 1
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150303/e94d5e5c/attachment.html>


More information about the ghc-devs mailing list