<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20689">
<style type="text/css"><!--html { font-family: "Color Emoji", "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; }--></style><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst,
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle,
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div>Hi,</div><div><br></div><div>Yes, sorry about that, I’m trying to reproduce it locally but no luck so far.. (waiting for a clean checkout to finish now)</div><div><br></div><div>But the fix is probably to swap the definition of </div><div><br></div><div>Excn.h and PosixSource.h in RtsMain.c or moving Excn.h to the bottom of the include list.</div><div><br></div><div>Something in Excn.h must be using _mingw.h which will define the macro if not defined.</div><div><br></div><div>Adding PosixSource to the top would make sure it is defined before anything else.</div><div><br></div><div>Regards,</div><div>Tamar</div><div><br></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; font-size: 12pt;'><b>From:</b> <a href="mailto:austin@well-typed.com" target="_parent">Austin Seipp</a><br><b>Sent:</b> Wednesday, March 4, 2015 00:14<br><b>To:</b> <a href="mailto:simonpj@microsoft.com" target="_parent">Simon Peyton Jones</a><br><b>Cc:</b> <a href="mailto:ghc-devs@haskell.org" target="_parent">ghc-devs@haskell.org</a></font></div></div><div><br></div><div dir=""><div id="readingPaneBodyContent">This must be fallout from the VEH handler change I pushed earlier -<br>5200bdeb26c5ec98739b14b10fc8907296bceeb9.<br><br>I'll try to fix/revert shortly.<br><br>On Tue, Mar 3, 2015 at 4:30 PM, Simon Peyton Jones<br><simonpj@microsoft.com> wrote:<br>> AAARGH! Windows build is broken again.<br>><br>> Please can someone fix?<br>><br>><br>><br>> In file included from rts\RtsMain.c:12:0:<br>><br>><br>><br>> rts\PosixSource.h:31:0: error: "__USE_MINGW_ANSI_STDIO" redefined<br>><br>> c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0:<br>> note: this is the location of the previous definition<br>><br>> rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed<br>><br>> make[1]: *** [rts/dist/build/RtsMain.o] Error 1<br>><br>><br>> _______________________________________________<br>> ghc-devs mailing list<br>> ghc-devs@haskell.org<br>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<br>><br><br><br><br>-- <br>Regards,<br><br>Austin Seipp, Haskell Consultant<br>Well-Typed LLP, http://www.well-typed.com/<br>_______________________________________________<br>ghc-devs mailing list<br>ghc-devs@haskell.org<br>http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<br></div></div></div>
</body>
</html>