[Pythonmac-SIG] RE: Learning on the Mac

David Andersen dma@andrew.cmu.edu
Tue, 06 Nov 2001 10:57:11 -0500


Has anyone compiled MacPython 2.1.1 with CodeWarrior 7.0 ?

I get (at least) the following compile errors when I try:

Error   : macro 'EDEADLK' redefined
errno.h line 55   #define EDEADLK  11  /* Resource deadlock avoided */

Error   : macro 'EAGAIN' redefined
errno.h line 83   #define EAGAIN  35  /* Resource temporarily unavailable */

Error   : identifier 'int8_t' redeclared
was declared as: 'signed char'
now declared as: 'char'
inttypes.h line 11   typedef char    int8_t;

Error   : illegal function overloading
fcntl.h line 126   FILE * fdopen(int fildes, char *type);