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

2008-07-22 Thread Charles R Harris
On Thu, Jul 17, 2008 at 2:04 PM, Matthieu Brucher < [EMAIL PROTECTED]> wrote: > 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.

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

2008-07-17 Thread Matthieu Brucher
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://