Snippets for python:numpy 2.5.3 from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/mingw-numpy/2.5.3/2.fc46/data/logs/s390x/build.log.
-
../numpy/_core/src/umath/fast_loop_macros.h:80:43: warning: variable 'op1' set but not used [-Wunused-but-set-variable=] 80 | char *ip1 = args[0], *ip2 = args[1], *op1 = args[2];\ | ^~~ -
../numpy/_core/src/umath/fast_loop_macros.h:80:11: warning: variable 'ip1' set but not used [-Wunused-but-set-variable=] 80 | char *ip1 = args[0], *ip2 = args[1], *op1 = args[2];\ | ^~~ -
../numpy/_core/src/umath/fast_loop_macros.h:80:27: warning: variable 'ip2' set but not used [-Wunused-but-set-variable=] 80 | char *ip1 = args[0], *ip2 = args[1], *op1 = args[2];\ | ^~~ -
../numpy/_core/src/multiarray/arrayobject.c:507:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'npy_intp' {aka 'int'} [-Wformat=] 507 | printf(" %" NPY_INTP_FMT, fobj->dimensions[i]); | ^~~~ ~~~~~~~~~~~~~~~~~~~ | | | npy_intp {aka int} -
../numpy/_core/src/multiarray/arrayobject.c:517:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'npy_intp' {aka 'int'} [-Wformat=] 517 | printf(" %" NPY_INTP_FMT, fobj->strides[i]); | ^~~~ ~~~~~~~~~~~~~~~~ | | | npy_intp {aka int} -
../numpy/_core/src/multiarray/buffer.c:404:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'npy_intp' {aka 'int'} [-Wformat=] 404 | PyOS_snprintf(buf, sizeof(buf), "%" NPY_INTP_FMT "s", descr->elsize); | ^~~ ~~~~~~~~~~~~~ | | | npy_intp {aka int} -
../numpy/_core/src/multiarray/buffer.c:412:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] 412 | PyOS_snprintf(buf, sizeof(buf), "%" NPY_INTP_FMT "w", descr->elsize / 4); | ^~~ ~~~~~~~~~~~~~~~~~ | | | int -
../numpy/_core/src/multiarray/buffer.c:419:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'npy_intp' {aka 'int'} [-Wformat=] 419 | PyOS_snprintf(buf, sizeof(buf), "%" NPY_INTP_FMT "x", descr->elsize); | ^~~ ~~~~~~~~~~~~~ | | | npy_intp {aka int} -
../numpy/_core/src/multiarray/mapping.c:730:25: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'npy_intp' {aka 'int'} [-Wformat=] 730 | "boolean index did not match indexed %s along " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../numpy/_core/src/multiarray/mapping.c:730:25: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'npy_intp' {aka 'int'} [-Wformat=] 730 | "boolean index did not match indexed %s along " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../numpy/_core/src/npysort/x86-simd-sort/src/xss-network-keyvaluesort.hpp:275:31: warning: variable 'j' set but not used [-Wunused-but-set-variable=] 275 | for (int i = numVecs / 2, j = 0; i < numVecs; i++, j++) { | ^ -
../numpy/fft/pocketfft/pocketfft_hdronly.h:3198:26: warning: 'it$p_i$' may be used uninitialized [-Wmaybe-uninitialized] 3198 | multi_iter<vlen> it(tin, out, axes[iax]); | ^~ -
../numpy/fft/pocketfft/pocketfft_hdronly.h:3198:26: warning: 'it$p_o$' may be used uninitialized [-Wmaybe-uninitialized]
-
../numpy/fft/pocketfft/pocketfft_hdronly.h:3359:24: warning: 'it$p_o$' may be used uninitialized [-Wmaybe-uninitialized] 3359 | multi_iter<vlen> it(in, out, axis); | ^~ -
../numpy/fft/pocketfft/pocketfft_hdronly.h:3304:22: warning: 'it$p_i$' may be used uninitialized [-Wmaybe-uninitialized] 3304 | multi_iter<vlen> it(in, out, axis); | ^~ -
../numpy/_core/src/umath/loops_logical.dispatch.cpp:348:35: warning: comparison of integer expressions of different signedness: ‘npy_intp’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 348 | for (i = 0; !*op && i < n - (n % sizeof(zero)); i += sizeof(zero)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ -
../numpy/_core/src/umath/fast_loop_macros.h:80:43: warning: variable ‘op1’ set but not used [-Wunused-but-set-variable=] 80 | char *ip1 = args[0], *ip2 = args[1], *op1 = args[2];\ | ^~~ -
../numpy/_core/src/umath/fast_loop_macros.h:80:11: warning: variable ‘ip1’ set but not used [-Wunused-but-set-variable=] 80 | char *ip1 = args[0], *ip2 = args[1], *op1 = args[2];\ | ^~~ -
../numpy/_core/src/umath/fast_loop_macros.h:80:27: warning: variable ‘ip2’ set but not used [-Wunused-but-set-variable=] 80 | char *ip1 = args[0], *ip2 = args[1], *op1 = args[2];\ | ^~~ -
../numpy/_core/include/numpy/npy_math.h:509:7: warning: type of ‘npy_cabsf’ does not match original declaration [-Wlto-type-mismatch] 509 | float npy_cabsf(npy_cfloat z); | ^ -
../numpy/_core/include/numpy/npy_math.h:481:8: warning: type of ‘npy_cabs’ does not match original declaration [-Wlto-type-mismatch] 481 | double npy_cabs(npy_cdouble z); | ^