[Toybox] [PATCH] Fix build when wchar_t is unsigned.

enh enh at google.com
Mon Mar 28 09:05:48 PDT 2016


ping. can't upgrade without this. if you actually want to go the
wchar_t route, let me know and i'll prepare that patch. i just assumed
you'd be more likely to go this way.

On Sat, Mar 26, 2016 at 11:00 AM, enh <enh at google.com> wrote:
>   external/toybox/lib/linestack.c:84:5: error: conflicting types for
> 'crunch_str'
>   int crunch_str(char **str, int width, FILE *out, char *escmore,
>       ^
>   external/toybox/lib/lib.h:228:5: note: previous declaration is here
>   int crunch_str(char **str, int width, FILE *out, char *escmore,
>       ^
>
> I'm not sure whether the interface was intended to be wchar_t or int, but
> switching to int is the smaller change...
> ---
>  lib/lib.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.

 1459181148.0


More information about the Toybox mailing list