[New-bugs-announce] [issue24506] make fails with gcc 4.9 due to fatal warning of unused variable and empty macro in Parser/pgen.c

Karl Richter report at bugs.python.org
Thu Jun 25 00:13:04 CEST 2015


New submission from Karl Richter:

`gcc` 4.9 is more restictive and recognizes that the empty definition of the `REQN` macro doesn't use some variables. It's more suitable to wrap the usage of the macro in the same preprocessor conditionals like the macro definition.

experienced with 41fbc222af8c503e1659250a36f4e293d864a92b

Patch attached. Tests pass (see https://semaphoreci.com/krichter/cpython/branches/empty_macro/builds/1 for details).

----------
components: Build
files: 0001-removed-empty-definition-of-REQN-preprocessor-macro-.patch
keywords: patch
messages: 245781
nosy: krichter
priority: normal
severity: normal
status: open
title: make fails with gcc 4.9 due to fatal warning of unused variable and empty macro in Parser/pgen.c
versions: Python 2.7
Added file: http://bugs.python.org/file39806/0001-removed-empty-definition-of-REQN-preprocessor-macro-.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24506>
_______________________________________


More information about the New-bugs-announce mailing list