Re: Windows build broken
lonetiger at gmail.com
Tue Mar 3 23:17:22 UTC 2015
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.
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 -
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
> note: this is the location of the previous definition
> rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed
> make: *** [rts/dist/build/RtsMain.o] Error 1
> ghc-devs mailing list
> ghc-devs at haskell.org
Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
ghc-devs mailing list
ghc-devs at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs