Windows build broken -- again

Simon Peyton Jones simonpj at microsoft.com
Sat Nov 12 23:17:45 UTC 2016


Sigh.  The Simon PJ Windows Buildbot reports


"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_v\" -optc-DWINVER=0x06000100 -static  -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/CheckUnload.c -o rts/dist/build/CheckUnload.o



In file included from rts\CheckUnload.c:16:0: error:



rts\LinkerInternals.h:284:15: error:

     error: unknown type name 'UChar'

     STATIC_INLINE UChar *

                   ^

rts\LinkerInternals.h: In function 'myindex':



rts\LinkerInternals.h:288:11: error:

     error: 'UChar' undeclared (first use in this function)

             ((UChar*)base) + scale * index;

               ^



rts\LinkerInternals.h:288:11: error:

     note: each undeclared identifier is reported only once for each function it appears in



rts\LinkerInternals.h:288:17: error:

     error: expected expression before ')' token

             ((UChar*)base) + scale * index;

                     ^



rts\LinkerInternals.h:285:28: error:

     error: unused parameter 'base' [-Werror=unused-parameter]

     myindex ( int scale, void* base, int index )

                                ^

rts\LinkerInternals.h: At top level:



rts\LinkerInternals.h:292:5: error:

     error: unknown type name 'UChar'

         UChar* name,

         ^



rts\LinkerInternals.h:293:5: error:

     error: unknown type name 'UChar'

         UChar* strtab);

         ^

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/CheckUnload.o] Error 1

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

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

/c/code/HEAD-1$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20161112/22a40dab/attachment-0001.html>


More information about the ghc-devs mailing list