Cyd Haselton added the comment:

Hello Ryan,
Error from latest patch:

Python/pythonrun.c:44:8: error: conflicting types for 'android_mbstowcs'
 size_t android_mbstowcs(wchar_t *dest, char * in, int maxlen) {
        ^
In file included from Python/pythonrun.c:18:0:
Include/androidfn.h:10:8: note: previous declaration of 'android_mbstowcs' was 
here
 size_t android_mbstowcs(wchar_t *dest, const char * source, int maxlen);
        ^
Python/pythonrun.c:61:8: error: conflicting types for 'android_wcstombs'
 size_t android_wcstombs(char * dest, wchar_t *source, int maxlen)
        ^
In file included from Python/pythonrun.c:18:0:
Include/androidfn.h:9:8: note: previous declaration of 'android_wcstombs' was 
here
 size_t android_wcstombs(char * dest, const wchar_t *source, int maxlen);
        ^
Python/pythonrun.c: In function 'android_wcstombs':
Python/pythonrun.c:68:5: error: expected ';' before 'if'
     if (c >= 0xdc800 && c <= 0xdcff)
     ^
Python/pythonrun.c:63:11: warning: variable 'c' set but not used 
[-Wunused-but-set-variable]
   wchar_t c;
           ^
make: *** [Python/pythonrun.o] Error 1

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23496>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to