From: Francesc A. <fa...@op...> - 2004-01-21 09:04:32
|
Hello Mike, A Dimecres 21 Gener 2004 05:15, vareu escriure: > Hello, I was trying to compile PyTables on an Irix box today and found 3 > "bugs" in hdf5Extension.c. These were ignored on my Linux and HP-UX > compiles, but Irix was a little sensitive to them. This os PyTables 7.2. > > The first is line 40: > > Was: staticforward char *__pyx_f[]; > Should be: staticforward char *__pyx_f[1]; //same as windows code > > Then lines 1977 and 2017 had problems trying to cast an int type to a > PyObject *. As it turned out "__pyx_1" was redefined inside their methods. > Globally it is an int, used for return codes. Inside the method it was a > pointer. This is a problem with Pyrex 0.8. Pyrex 0.9 should deal with that just fine. In fact, with Pyrex 0.9, the next line is generated: staticforward char **__pyx_f; that is more or less the same as your solution. > > Fixing those got it to compile OK (lots of warnings though). But the test > suite failed. I haven't figured that one out yet. Could you send me your *complete* test output (i.e. don't forget to pass both -v and verbose parameters), please?. Also, add some machine and compiler info. -- Francesc Alted |