[issue12595] python.h redundant redeclarations

2011-07-28 Thread Petri Lehtinen
Petri Lehtinen added the comment: Barry Warsaw wrote: > I don't feel comfortable changing what is defined in > a header file in a point release, so I am not going > to backport the fix. Closing as wont fix. -- keywords: +needs review resolution: -> wont fix stage: needs patch -> patch

[issue12595] python.h redundant redeclarations

2011-07-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: Attached a partial patch for from issue 8914 that should deal with this issue in 3.2. -- keywords: +patch Added file: http://bugs.python.org/file22778/issue12595.patch ___ Python tracker

[issue12595] python.h redundant redeclarations

2011-07-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: After hitting the submit button, I realized that Python.h is of course included when embedding Python, so the fix could be backported to 3.2. -- keywords: +easy resolution: duplicate -> stage: -> needs patch status: closed -> open superseder: Run cla

[issue12595] python.h redundant redeclarations

2011-07-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: Already fixed in 3.3 as a part of issue 8914. This does not cause a compilation failure with the default build flags, so there's no need to backport to older versions. Closing as duplicate of issue 8914. -- nosy: +petri.lehtinen resolution: -> dupli

[issue12595] python.h redundant redeclarations

2011-07-20 Thread Tobias Pfaff
New submission from Tobias Pfaff : Compiling 'Python.h' with g++ and -Wredundant-decls produces warnings Testcase: test.cpp: #include int main() { return 0; } g++ test.cpp -I/usr/include/python3.2mu/ -Wredundant-decls In file included from /usr/include/python3.2mu/Python.h:106,