<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div><br></div><div>I can't fix that (no windows) but I just broke all the builds with a -Werror mistake and I can fix that one...</div><div><br></div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div style="font-size:85%;color:#575757">David Feuer</div><div style="font-size:85%;color:#575757">Well-Typed, LLP</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> </div><div>Date: 2/28/17  7:07 PM  (GMT-05:00) </div><div>To: ghc-devs@haskell.org </div><div>Subject: Windows build broken </div><div><br></div></div>
<div class="WordSection1">
<p class="MsoNormal">Windows build is broken again.  Might someone fix?<o:p></o:p></p>
<p class="MsoNormal"><b>Simon<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="Code">"inplace/bin/ghc-stage1.exe" -optc-fno-stack-protector -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-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing
 -optc-fno-common -optc-Irts/dist/build/./autogen -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_p\" -optc-DWINVER=0x06000100 -static -prof -eventlog  -O0 -H64m -Wall -fllvm-fill-undef-with-garbage    -Werror -Iincludes
 -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen          
 -O2    -Wnoncanonical-monad-instances  -c rts/Sparks.c -o rts/dist/build/Sparks.p_o<o:p></o:p></p>
<p class="Code">rts\Profiling.c: In function 'reportCCSProfiling':<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">rts\Profiling.c:704:9: error:<o:p></o:p></p>
<p class="Code">     error: implicit declaration of function 'writeCCSReportJson' [-Werror=implicit-function-declaration]<o:p></o:p></p>
<p class="Code">             writeCCSReportJson(prof_file, stack, totals);<o:p></o:p></p>
<p class="Code">             ^~~~~~~~~~~~~~~~~~<o:p></o:p></p>
<p class="Code">    |<o:p></o:p></p>
<p class="Code">704 |         writeCCSReportJson(prof_file, stack, totals);<o:p></o:p></p>
<p class="Code">    |         ^<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">rts\Profiling.c:704:9: error:<o:p></o:p></p>
<p class="Code">     error: nested extern declaration of 'writeCCSReportJson' [-Werror=nested-externs]<o:p></o:p></p>
<p class="Code">    |<o:p></o:p></p>
<p class="Code">704 |         writeCCSReportJson(prof_file, stack, totals);<o:p></o:p></p>
<p class="Code">    |         ^<o:p></o:p></p>
<p class="Code">cc1.exe: all warnings being treated as errors<o:p></o:p></p>
<p class="Code">`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)<o:p></o:p></p>
<p class="Code">make[1]: *** [rts/ghc.mk:255: rts/dist/build/Profiling.p_o] Error 1<o:p></o:p></p>
<p class="Code">make[1]: *** Waiting for unfinished jobs....<o:p></o:p></p>
<p class="Code">make: *** [Makefile:127: all] Error 2<o:p></o:p></p>
<p class="Code">/c/code/HEAD$<span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
</body></html>