[issue4499] redefinition of TILDE macro on AIX platform
R. David Murray rdmur...@bitdance.com added the comment: Committed to py3k in r85675, 3.1 in r85676, and 2.7 in r85677. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4499] redefinition of TILDE macro on AIX platform
Sébastien Sablé sa...@users.sourceforge.net added the comment: I can confirm that this problem is still present with Python 3.1.2 on AIX 6.1. This is just a compilation warning, but the patch in msg110771 correctly cleans it. xlc_r -c -DNDEBUG -O -I. -IInclude -I./Include -I/home/cis/data/bamboo-home-agent-runtime/xml-data/build-dir/RTAIX30-SUP/target/support/include -I/home/cis/data/bamboo-home-agent-runtime/xml-data/build-dir/RTAIX30-SUP/target/support/include/ncurses -I/home/cis/data/bamboo-home-agent-runtime/xml-data/build-dir/RTAIX30-SUP/target/support/include -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c Include/token.h, line 42.9: 1506-236 (W) Macro name TILDE has been redefined. Include/token.h, line 42.9: 1506-358 (I) TILDE is defined on line 270 of /usr/include/sys/ioctl.h. -- nosy: +sable ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4499] redefinition of TILDE macro on AIX platform
Sridhar Ratnakumar sridh...@activestate.com added the comment: I've located the following patch in our ActivePython source tree. $ cat src/patches/3.1/general/aix_tilde.patch --- Include/token.h.orig2008-10-08 11:51:52.0 -0700 +++ python/Include/token.h 2008-10-08 11:52:53.0 -0700 @@ -7,6 +7,8 @@ extern C { #endif +#undef TILDE /* Prevent clash of our definition with system macro. Ex AIX, ioctl.h */ + #define ENDMARKER 0 #define NAME 1 #define NUMBER 2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4499] redefinition of TILDE macro on AIX platform
R. David Murray rdmur...@bitdance.com added the comment: The define in question by that name still exists in token.h in 3.x. I've added srid to nosy since as an AIX user he probably knows if this is a real problem or not, and Benjamin because he's done a lot with the parser. -- nosy: +benjamin.peterson, r.david.murray, srid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4499] redefinition of TILDE macro on AIX platform
Mark Lawrence breamore...@yahoo.co.uk added the comment: Is this still a problem or can the issue be closed? -- components: +Build -None nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4499] redefinition of TILDE macro on AIX platform
New submission from Andrew Paprocki [EMAIL PROTECTED]: Include/token.h, line 42.9: 1506-236 (W) Macro name TILDE has been redefined. Include/token.h, line 42.9: 1506-358 (I) TILDE is defined on line 250 of /usr/include/sys/ioctl.h. -- components: None messages: 76800 nosy: apaprocki severity: normal status: open title: redefinition of TILDE macro on AIX platform type: compile error versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com