Author xdegaye
Recipients Alex.Willmer, xdegaye
Date 2016-12-21.20:24:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482351865.89.0.655034997181.issue29040@psf.upfronthosting.co.za>
In-reply-to
Content
android-ndk-r14 introduces "Unified Headers" [1] and is planned to be released late january/early february 2017 [2].

__ANDROID_API__ is not anymore defined in 'android/api-level.h' that is currently included by Include/pyport.h, and is passed instead with -D__ANDROID_API__=$API when compiling. And 'android/api-level.h' is now used to set the API level to 10000 as a Magic version number for a current development build when __ANDROID_API__ is not defined (see attached file).

Adoption of android-ndk-r14 should be made with the following changes:
* Remove the include of <android/api-level.h> in Include/pyport.h.
* Update configure.ac to abort when __ANDROID__ is defined and __ANDROID_API__ is not defined.
* Revert the changes made in issues #28538 and #28762, android-ndk-r14 fixes the problems raised in these two issues.

[1] https://android.googlesource.com/platform/ndk.git/+/master/docs/UnifiedHeaders.md
[2] https://github.com/android-ndk/ndk/wiki
History
Date User Action Args
2016-12-21 20:24:25xdegayesetrecipients: + xdegaye, Alex.Willmer
2016-12-21 20:24:25xdegayesetmessageid: <1482351865.89.0.655034997181.issue29040@psf.upfronthosting.co.za>
2016-12-21 20:24:25xdegayelinkissue29040 messages
2016-12-21 20:24:25xdegayecreate