[Numpy-discussion] RFR: fix signed/unsigned comparison warnings in numpy

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Mar 3 03:58:15 CST 2009


Hi,

    A small patch to fix some last warnings (numpy almost builds warning
free with -W -Wall -Wextra now). I am not sure about those
(signed/unsigned casts are potentially dangerous), so I did not apply
them directly. It did help me discovering a bug or two in numpy (fixed
in the trunk):

http://codereview.appspot.com/24043/

http://github.com/cournape/numpy/tree/unsigned_warn

cheers,

David


More information about the Numpy-discussion mailing list