[issue23496] Steps for Android Native Build of Python 3.4.2

Cyd Haselton report at bugs.python.org
Thu Apr 9 18:56:06 CEST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue23496>
_______________________________________


More information about the Python-bugs-list mailing list