This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, benjamin.peterson, martin.panter, vstinner, xdegaye, yan12125
Date 2016-10-16.15:44:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Android does not have crypt, but the crypt module is cross-built nevertheless after this warning has been issued:
    warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration]
And at runtime, importing the crypt module fails with:
    ImportError: dlopen failed: cannot locate symbol "crypt" referenced by ""

gcc and clang do not enforce the C99 rules and emit just a warning for implicit function declarations instead of the error that would be conforming to C99. This can be changed with the flag '-Werror=implicit-function-declaration' and the compilation of the crypt extension module rightly fails in that case.

I think this issue should be fixed by adding this flag to the Makefile.
Maybe in another issue.
Date User Action Args
2016-10-16 15:44:26xdegayesetrecipients: + xdegaye, vstinner, benjamin.peterson, martin.panter, Alex.Willmer, yan12125
2016-10-16 15:44:26xdegayesetmessageid: <>
2016-10-16 15:44:26xdegayelinkissue27659 messages
2016-10-16 15:44:26xdegayecreate