Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89914

Re: Cannot update OpenSSL for Python3

References (2 earlier) <878ud4k270.fsf@Equus.decebal.nl> <mailman.84.1430741703.12865.python-list@python.org> <874mnsjxju.fsf@Equus.decebal.nl> <mailman.89.1430749136.12865.python-list@python.org> <87vbg8idhk.fsf@Equus.decebal.nl>
Date 2015-05-05 02:03 +1000
Subject Re: Cannot update OpenSSL for Python3
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.94.1430755420.12865.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof <Cecil@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 10:58 +0200
  Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-04 20:10 +1000
    Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 13:32 +0200
      Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-04 22:14 +1000
        Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 15:13 +0200
          Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 00:18 +1000
            Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 17:11 +0200
              Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 02:03 +1000
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 19:19 +0200
                Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 03:49 +1000
                Re: Cannot update OpenSSL for Python3 Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-04 21:02 +0200
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 21:52 +0200
                Re: Cannot update OpenSSL for Python3 Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-04 23:59 +0200
              Re: Cannot update OpenSSL for Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-04 19:04 +0100
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 21:54 +0200
  Re: Cannot update OpenSSL for Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-04 21:38 +0100

csiph-web