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)$