Cannot update OpenSSL for Python3

Chris Angelico rosuav at gmail.com
Mon May 4 12:03:37 EDT 2015


On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof <Cecil at decebal.nl> wrote:
> Now I get:
>     c/../_cffi1/ffi_obj.c:489:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
>          PyObject *u = PyUnicode_DecodeLatin1(PyBytes_AS_STRING(res),
>          ^
>     cc1: some warnings being treated as errors

Interesting. I'm not sure why yours is complaining about that; mine
doesn't. (Possibly because I'm running Python 3.5, and stuff may have
been changed.) In any case, this would be a reasonable thing to make a
bug report about. In the meantime, you can simply override that
warning-equals-error parameter:

http://stackoverflow.com/questions/25587039/error-compiling-rpy2-on-python3-4-due-to-werror-declaration-after-statement

ChrisA



More information about the Python-list mailing list