On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof <ce...@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 -- https://mail.python.org/mailman/listinfo/python-list