Hi, I'm using Cython 0.10.3 to build an extension module and the generated C file does not compile under VC6, which I use to create a Windows binary package for Python 2.3. The culprit is the following expression:
PyObject *j = (likely(i >= 0) || !is_unsigned) ? PyInt_FromLong(i) : PyLong_FromUnsignedLongLong((sizeof(unsigned long long) > sizeof(Py_ssize_t) ? (1ULL << (sizeof(Py_ssize_t)*8)) : 0) + i); in the function __Pyx_GetItemInt. It looks like VC6 does not know about "long long". I suppose Cython should respect HAVE_LONG_LONG and use PY_LONG_LONG macro instead of "long long". Thanks, Kirill _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
