Snippets for python:numpy 2.5.3 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/py3-numpy/py3-numpy-2.5.3-r0.log.
-
../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/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/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/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); | ^