Guido van Rossum wrote: > > let me suggest patches... If these work, please check them in: Yes, they do, thanks! (I can't check them in) There's one error left, occuring at two locations in the signalmodule, but I think the solution would be to have an appropriate cast: "./signalmodule.c", line 359.49: 1506-280 (E) Function argument assignment between types "void*" and "void(*)(int)" is not allowed. "./signalmodule.c", line 363.48: 1506-280 (E) Function argument assignment between types "void*" and "void(*)(int)" is not allowed. > > > xlc_r -O -I./../Include -I.. -DHAVE_CONFIG_H -c methodobject.c > > "methodobject.c", line 183.36: 1506-280 (E) Function argument assignment between types "void*" and "struct _object*(*)(struct _object*,struct _object*)" is not allowed. > > > Index: methodobject.c > =================================================================== > RCS file: /cvsroot/python/python/dist/src/Objects/methodobject.c,v > retrieving revision 2.28 > diff -c -r2.28 methodobject.c > *** methodobject.c 2000/06/30 15:01:00 2.28 > --- methodobject.c 2000/06/30 22:09:55 > *************** > *** 180,186 **** > if (x == -1) > return -1; > } > ! y = _Py_HashPointer(a->m_ml->ml_meth); > if (y == -1) > return -1; > x ^= y; > --- 180,186 ---- > if (x == -1) > return -1; > } > ! y = _Py_HashPointer((void*)(a->m_ml->ml_meth)); > if (y == -1) > return -1; > x ^= y; > > > > > xlc_r -O -I./../Include -I.. -DHAVE_CONFIG_H -c ./posixmodule.c > > "./posixmodule.c", line 293.16: 1506-213 (S) Macro name STAT cannot be redefined. > > "./posixmodule.c", line 293.16: 1506-358 (I) "STAT" is defined on line 170 of /usr/include/sys/dir.h. > > make: 1254-004 The error code from the last command is 1. > > Index: posixmodule.c > =================================================================== > RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v > retrieving revision 2.138 > diff -c -r2.138 posixmodule.c > *** posixmodule.c 2000/06/29 21:12:41 2.138 > --- posixmodule.c 2000/06/30 22:10:39 > *************** > *** 285,290 **** > --- 285,291 ---- > #endif > > /* choose the appropriate stat and fstat functions and return structs */ > + #undef STAT > #ifdef MS_WIN64 > # define STAT _stati64 > # define FSTAT _fstati64 > > --Guido van Rossum (home page: http://www.python.org/~guido/) > -- Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4