Windows build broken

Austin Seipp austin at well-typed.com
Fri Apr 4 15:55:36 UTC 2014


Looks like 5d7f59018703b94ebfe96cbef5574ec396a1c051 is the culprit.

Simon M, perhaps you can look at this? I'm tied up in the 7.8 branch
at the moment, but I can revert it temporarily at least (I imagine the
fix is easy enough - if you can't get to it soon, I'll revert and fix
it when I get a chance).

On Fri, Apr 4, 2014 at 10:14 AM, Simon Peyton Jones
<simonpj at microsoft.com> wrote:
> Can someone fix this?  This is breakage on Windows. It was fine yesterday.
>
> Simon
>
> cc1.exe: warnings being treated as errors
>
> rts\Linker.c: In function 'loadArchive':
>
>
>
> rts\Linker.c:2631:17:
>
>      error: passing argument 1 of 'strlen' from incompatible pointer type
>
> c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/string.h:49:40:
> note: expected 'const char *' but argument is of type 'pathchar *'
>
>
>
> rts\Linker.c:2632:17:
>
>      error: passing argument 2 of 'strcpy' from incompatible pointer type
>
> c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/string.h:45:39:
> note: expected 'const char *' but argument is of type 'pathchar *'
>
>
>
> rts\Linker.c:2638:21:
>
>      error: passing argument 1 of 'strlen' from incompatible pointer type
>
> c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/string.h:49:40:
> note: expected 'const char *' but argument is of type 'pathchar *'
>
>
>
> rts\Linker.c:2643:17:
>
>      error: passing argument 1 of '_wfopen' from incompatible pointer type
>
> c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdio.h:593:39:
> note: expected 'const wchar_t *' but argument is of type 'char *'
>
> rts/ghc.mk:233: recipe for target 'rts/dist/build/Linker.o' failed
>
> make[1]: *** [rts/dist/build/Linker.o] Error 1
>
> make[1]: *** Waiting for unfinished jobs....
>
> Makefile:64: recipe for target 'all' failed
>
> make: *** [all] Error 2
>
> HEAD (master)$
>
>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/


More information about the ghc-devs mailing list