More windows woe
Edward Z. Yang
ezyang at MIT.EDU
Wed Aug 28 21:59:12 CEST 2013
My guess is the printf's need to be replaced with swprintf's.
Edward
Excerpts from Simon Peyton-Jones's message of Wed Aug 28 01:25:26 -0700 2013:
> OK, so now my windows build is getting further, but it now falls over here. This one looks more straightforward! Can anyone help?
>
> Simon
>
> "inplace/bin/ghc-stage1.exe" -optc-Werror -optc-Wall -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-O2 -optc-fomit-frame-pointer -optc-fno-omit-frame-pointer -optc-g -optc-O0 -optc-DRtsWay=\"rts_debug\" -static -optc-DDEBUG -ticky -DTICKY_TICKY -H32m -O -Werror -Wall -H64m -O0 -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -O0 -c rts/CheckUnload.c -o rts/dist/build/CheckUnload.debug_o
> cc1.exe: warnings being treated as errors
> rts\CheckUnload.c: In function 'checkUnload':
>
> rts\CheckUnload.c:257:7:
> error: format '%s' expects type 'char *', but argument 2 has type 'pathchar *'
>
> rts\CheckUnload.c:293:11:
> error: format '%s' expects type 'char *', but argument 2 has type 'pathchar *'
>
> rts\CheckUnload.c:297:11:
> error: format '%s' expects type 'char *', but argument 2 has type 'pathchar *'
> bash-3.1$
More information about the ghc-devs
mailing list