[Numpy-discussion] Warnings for Travis

Charles R Harris charlesr.harris@gmail....
Sat Oct 4 11:16:37 CDT 2008


Hi Travis,

The following turned up on the 64-bit windows buildbot. I don't know what
triggers them as they don't normally show, but they look legit.

numpy\core\src\ufuncobject.c(1700) : warning C4244: '=' : conversion
from 'npy_intp' to 'int', possible loss of data
numpy\core\src\ufuncobject.c(1701) : warning C4244: '=' : conversion
from 'npy_intp' to 'int', possible loss of data
numpy\core\src\ufuncobject.c(2422) : warning C4244: '=' : conversion
from 'npy_intp' to 'int', possible loss of data

They involve some of the parameters in the loop object. If this object is
not exposed I would suggest making them npy_intp. That said, I don't think
casting to int is dangerous in this case.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081004/c99f7725/attachment.html 


More information about the Numpy-discussion mailing list