New submission from Ronald Oussoren:

Changeset a3559c8c614b added -Werror=statement-after-declaration to the CFLAGS 
for compiler that support it. 

This new flags is fine for CPython itself (which is explicitly writting in C89 
style to support older compilers and Microsoft Visual Studio), but the new 
flags also gets used when building 3th-party extensions using distutils and 
might cause problems there when that code uses C99.

I don't have a good solution for this yet, the flag is useful to have when 
building CPython to avoid regressions in C89 support but shouldn't be used when 
building 3th-party extensions.

----------
assignee: eric.araujo
components: Build, Distutils
messages: 191119
nosy: benjamin.peterson, eric.araujo, ronaldoussoren, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: -Werror=statement-after-declaration problem
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18211>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to