Re: IRIX MipsPro compiler chokes on Python.h

2005-05-25 Thread Bram Stolk
Andrew MacIntyre wrote: > My suspicion would be directed to a #define that is incorrect, as the > snippet above suggests that select() appears in two system headers > (/usr/include/sys/time.h & /usr/include/unistd.h). thanks for the info. I need to undef the following from my pyconfig.h to make i

Re: IRIX MipsPro compiler chokes on Python.h

2005-05-25 Thread Andrew MacIntyre
Bram Stolk wrote: > Hi there, > > I just built and installed Python-2.4.1 on my Irix machine. > My compiler, the MipsPro compiler, chokes on the Python.h include file, > as demonstrated here: > > > $ CC -v > MIPSpro Compilers: Version 7.41 > $ python -V > Python 2.4.1 > $ cat l.cxx > #include >

Re: IRIX MipsPro compiler chokes on Python.h

2005-05-25 Thread Bram Stolk
Dennis Lee Bieber wrote: > On Tue, 24 May 2005 13:20:01 +0200, Bram Stolk <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > >>$ cat l.cxx > > > Isn't ".cxx" a "C++" indicator? I think Python is just plain C, > so you'd have to wrap everything to indicate C style namin

IRIX MipsPro compiler chokes on Python.h

2005-05-24 Thread Bram Stolk
Hi there, I just built and installed Python-2.4.1 on my Irix machine. My compiler, the MipsPro compiler, chokes on the Python.h include file, as demonstrated here: $ CC -v MIPSpro Compilers: Version 7.41 $ python -V Python 2.4.1 $ cat l.cxx #include int main() { return 0; } $ CC -I $HOME/i