Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'warnings': 0.04; 'error:': 0.07; 'meantime,': 0.09; 'mixed': 0.09; 'override': 0.09; 'subject:Python3': 0.09; 'subject:update': 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'bug': 0.12; 'complaining': 0.16; 'declarations': 0.16; 'forbids': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'parameter:': 0.16; 'skip:[ 30': 0.16; 'wrote:': 0.18; 'skip:p 40': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '(possibly': 0.31; 'about.': 0.31; 'stuff': 0.32; 'running': 0.33; 'case,': 0.35; 'received:google.com': 0.35; 'being': 0.38; 'mine': 0.38; 'sure': 0.39; 'simply': 0.61; '2015': 0.84; 'yours': 0.88; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=mOKxGWQT9sGQV3VQ96GAhj5Ga5Sj520p7bZVvXkESH0=; b=X0PUXDwUEksnwBFUMrz2j52zwOVNkRLwz2jfnl+HXWS9SLr9EamFIF/kFUDsab+kbP y5E4AJPPJk3uV5PHBK6+75licE1pxbZC2a7/L+Ayh8o5MnEgPlZzpwOkRngh9iyD6Pgb vqCqg59biBjlbBNbRRqdIZe7lGwvgmliLDQyxXIgioD6n34AKQq6xXWBfmijmQwY4cDd e8uw5PJC/DcvmPCD9kt2BuOp456TnJqNQPU16Qci670pYY0BmA5WufGjQiTI6H988NDt U8AoXLiI56unrAIXzJny1SOkZKgurmw3ptrXjmAiT4vFot6rrJQjWvBo5P9wOQhHQJrx JU4Q== MIME-Version: 1.0 X-Received: by 10.50.176.137 with SMTP id ci9mr14171309igc.2.1430755418047; Mon, 04 May 2015 09:03:38 -0700 (PDT) In-Reply-To: <87vbg8idhk.fsf@Equus.decebal.nl> References: <87k2wok9bz.fsf@Equus.decebal.nl> <878ud4k270.fsf@Equus.decebal.nl> <874mnsjxju.fsf@Equus.decebal.nl> <87vbg8idhk.fsf@Equus.decebal.nl> Date: Tue, 5 May 2015 02:03:37 +1000 Subject: Re: Cannot update OpenSSL for Python3 From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430755420 news.xs4all.nl 2857 [2001:888:2000:d::a6]:40192 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89914 On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof 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