[Toybox] [PATCH] Fix build when wchar_t is unsigned.
Rob Landley
rob at landley.net
Mon Mar 28 20:49:46 PDT 2016
Sorry, I broke down and started upgrading my netbook from Ubuntu 12.04
to 14.04 (both so I can install current AOSP on it and so I can move my
email over to the machine I actually carry with me most of the time) and
of _course_ it blew up and turned into a complete reinstall.
Still digging out. (And then Thursday I get on a plane and don't get
home for a month. I should write a separate post about that in case
anybody cares...)
Rob
On 03/28/2016 11:05 AM, enh wrote:
> 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(-)
>
>
>
1459223386.0
More information about the Toybox
mailing list