New submission from Shiz:

As a result of Android's relatively incomplete locale.h implementation[1], some 
functions are not defined and some standard structs are lacking fields (e.g. 
decimal_point, thousand_sep).
This prevents proper cross-compilation using the Android NDK[2] from succeeding.

Attached is a patch which works around the various issues posed by Android's 
locale.h implementation, mainly involving falling back to default locale 
values, causing compilation in that department for the author to succeed.

[1]: https://groups.google.com/forum/#!topic/android-ndk/PBK4KkRpDoU
[2]: https://developer.android.com/tools/sdk/ndk/index.html

----------
components: Cross-Build
files: Python-3.4.0tip-workaround-android-locale-issues.patch
keywords: patch
messages: 208486
nosy: shiz
priority: normal
severity: normal
status: open
title: Android's incomplete locale.h implementation prevents compilation
type: compile error
versions: Python 3.4
Added file: 
http://bugs.python.org/file33549/Python-3.4.0tip-workaround-android-locale-issues.patch

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

Reply via email to