Lisandro Dalcin wrote: >>> Now testing at least starts, but seems to have some errors: >> >> * warning: left shift count >= width of type >> >> I don't get these locally. The problem is in __Pyx_GetItemGeneric, >> second >> line: "1ULL << (sizeof(Py_ssize_t)*8)". Looks like that's not 64bit >> clean. >> > > PyInt_FromSsize_t() should be used here....
Could you come up with a fix? The other functions are affected, too: inplace.cpp: In function PyObject* __Pyx_GetItemInt_Generic(PyObject*, Py_ssize_t, int): inplace.cpp:277: warning: left shift count >= width of type inplace.cpp: In function int __Pyx_SetItemInt(PyObject*, Py_ssize_t, PyObject*, int): inplace.cpp:345: warning: left shift count >= width of type dictintindex.cpp: In function PyObject* __Pyx_GetItemInt_Generic(PyObject*, Py_ssize_t, int): dictintindex.cpp:263: warning: left shift count >= width of type Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
