[issue21121] -Werror=declaration-after-statement is added even for extension modules through setup.py

Stefan Krah report at bugs.python.org
Wed Apr 16 15:58:03 CEST 2014


Stefan Krah added the comment:

Here is a patch.  I do not see a really nice way to deal with the problem.
The cleanest way I found was to introduce a new Makefile variable CFLAGS_NODIST
and use that in the interpreter and stdlib build.

----------
keywords: +patch
nosy: +skrah
Added file: http://bugs.python.org/file34909/issue21121.diff

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


More information about the Python-bugs-list mailing list