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

nils report at bugs.python.org
Wed Apr 2 04:25:10 CEST 2014


nils added the comment:

The workaround indeed works. At least I can work now until this gets officialy fixed. Thanks! 

export CFLAGS=$(python3.4 -c 'import sysconfig; print(sysconfig.get_config_var("CFLAGS").replace("-Werror=declaration-after-statement",""))')

----------

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


More information about the Python-bugs-list mailing list