[Numpy-tickets] [NumPy] #337: Compiler warnings on 64-bit Linux
NumPy
numpy-tickets at scipy.net
Thu Oct 12 06:38:16 CDT 2006
#337: Compiler warnings on 64-bit Linux
-----------------------------+----------------------------------------------
Reporter: albertstrasheim | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0 Release
Component: numpy.core | Version: devel
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
When compiling NumPy r3317 on 64-bit Linux with GCC 4.0.3, the following
warnings are generated:
{{{
gcc: numpy/core/src/multiarraymodule.c
In file included from numpy/core/src/multiarraymodule.c:63:
numpy/core/src/arrayobject.c: In function 'iter_ass_subscript':
numpy/core/src/arrayobject.c:9285: warning: format '%d' expects type
'int', but argument 3 has type 'npy_intp'
numpy/core/src/scalartypes.inc.src: In function 'gentype_imag_get':
numpy/core/src/scalartypes.inc.src:834: warning: 'typecode' may be used
uninitialized in this function
}}}
{{{
gcc: build/src.linux-x86_64-2.4/numpy/core/src/umathmodule.c
In file included from numpy/core/src/umathmodule.c.src:2056:
numpy/core/src/ufuncobject.c: In function 'PyUFunc_GetPyValues':
numpy/core/src/ufuncobject.c:795: warning: format '%ld' expects type 'long
int', but argument 4 has type 'int'
numpy/core/src/ufuncobject.c:795: warning: format '%ld' expects type 'long
int', but argument 5 has type 'int'
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/337>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list