[Numpy-discussion] Removing some warnings from numpy.i

Matthieu Brucher matthieu.brucher@gmail....
Thu Jul 17 15:04:29 CDT 2008


Hi,

I've enclosed a patch for numpy.i (against the trunk). Its goal is to
add const char*
instead of char* in some functions (pytype_string and
typecode_string). The char* use raises some warnings in GCC 4.2.3 (and
it is indeed not type safe IMHO).

Matthieu
--
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher



-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 1989 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080717/b24f19fe/attachment.obj 


More information about the Numpy-discussion mailing list