Windows build broken

Simon Peyton Jones simonpj at microsoft.com
Wed Mar 1 00:07:23 UTC 2017


Windows build is broken again.  Might someone fix?
Simon


"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

rts\Profiling.c: In function 'reportCCSProfiling':



rts\Profiling.c:704:9: error:

     error: implicit declaration of function 'writeCCSReportJson' [-Werror=implicit-function-declaration]

             writeCCSReportJson(prof_file, stack, totals);

             ^~~~~~~~~~~~~~~~~~

    |

704 |         writeCCSReportJson(prof_file, stack, totals);

    |         ^



rts\Profiling.c:704:9: error:

     error: nested extern declaration of 'writeCCSReportJson' [-Werror=nested-externs]

    |

704 |         writeCCSReportJson(prof_file, stack, totals);

    |         ^

cc1.exe: all warnings being treated as errors

`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)

make[1]: *** [rts/ghc.mk:255: rts/dist/build/Profiling.p_o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [Makefile:127: all] Error 2

/c/code/HEAD$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170301/88221f41/attachment.html>


More information about the ghc-devs mailing list