sure, wait me a bit, working on the runtests+numpy patch :-)

On Tue, Mar 10, 2009 at 1:38 PM, Stefan Behnel <stefan...@behnel.de> wrote:
> 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
> Cython-dev@codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to