On Apr 26, 5:14 am, Jeroen Ruigrok van der Werven <asmo...@in- nomine.org> wrote: > -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...
Thanks Jeroen. I know that AIX isn't as supported as other platforms, but I thought it wouldn't hurt to ask anyway. At least now everybody can search for that particular problem and find something. I will experiment a little bit and see if I make it compile. -- http://mail.python.org/mailman/listinfo/python-list