-On [20090425 19:17], Aahz (a...@pythoncraft.com) wrote: >In article <acf6ccbd-fcdb-4141-b2ef-0c83cae99...@x5g2000yqk.googlegroups.com>, > <prueba...@latinmail.com> wrote: >>"Include/token.h", line 42.9: 1506-213 (S) Macro name TILDE cannot be >>redefined. >>"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line >>250 of /usr/include/sys/ioctl.h. > >Can you try trimming down the compilation to a small reproducible case?
I thought it was already clear from what was provided? Include/token.h has a #define for TILDE and apparently AIX has a #define for TILDE in /usr/include/sys/ioctl.h as well. So you can a redefinition. One way around it, depending how AIX protects headers might be to change Include/token.h to either: #if defined(_SYS_IOCTL_H_) #undef TILDE #define TILDE 32 #endif or #if defined(aix) #undef TILDE #define TILDE 32 #endif -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B A rose is a rose is a rose is a rose... -- http://mail.python.org/mailman/listinfo/python-list