I can't fix that (no windows) but I just broke all the builds with a -Werror 
mistake and I can fix that one...

David FeuerWell-Typed, LLP
-------- Original message --------From: Simon Peyton Jones via ghc-devs 
<ghc-devs@haskell.org> Date: 2/28/17  7:07 PM  (GMT-05:00) To: 
ghc-devs@haskell.org Subject: Windows build broken 


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$

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to