Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save micwoj92/ff2a6a5873d7bcaff3e66d6070fff497 to your computer and use it in GitHub Desktop.
Save micwoj92/ff2a6a5873d7bcaff3e66d6070fff497 to your computer and use it in GitHub Desktop.
python-esutil-0.6.16-1-x86_64-build.log
/usr/lib/python3.13/site-packages/setuptools/dist.py:761: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU General Public License (GPL)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running build_ext
building 'esutil.recfile._records' extension
creating build/temp.linux-x86_64-cpython-313/esutil/recfile
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/python-esutil/src=/usr/src/debug/python-esutil -flto=auto -fPIC -I/usr/lib/python3.13/site-packages/numpy/_core/include -Iesutil/include -Iesutil/recfile -I/usr/include/python3.13 -c esutil/recfile/records.cpp -o build/temp.linux-x86_64-cpython-313/esutil/recfile/records.o -std=c++11
In file included from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from esutil/recfile/records.hpp:9,
from esutil/recfile/records.cpp:1:
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/python-esutil/src=/usr/src/debug/python-esutil -flto=auto -fPIC -I/usr/lib/python3.13/site-packages/numpy/_core/include -Iesutil/include -Iesutil/recfile -I/usr/include/python3.13 -c esutil/recfile/records_wrap.cpp -o build/temp.linux-x86_64-cpython-313/esutil/recfile/records_wrap.o -std=c++11
In file included from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from esutil/recfile/records.hpp:9,
from esutil/recfile/records_wrap.cpp:2770:
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
creating build/lib.linux-x86_64-cpython-313/esutil/recfile
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/python-esutil/src=/usr/src/debug/python-esutil -flto=auto -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/python-esutil/src=/usr/src/debug/python-esutil -flto=auto build/temp.linux-x86_64-cpython-313/esutil/recfile/records.o build/temp.linux-x86_64-cpython-313/esutil/recfile/records_wrap.o -L/usr/lib -o build/lib.linux-x86_64-cpython-313/esutil/recfile/_records.cpython-313-x86_64-linux-gnu.so
building 'esutil.cosmology._cosmolib' extension
creating build/temp.linux-x86_64-cpython-313/esutil/cosmology
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python-esutil/src=/usr/src/debug/python-esutil -flto=auto -fPIC -I/usr/lib/python3.13/site-packages/numpy/_core/include -Iesutil/include -Iesutil/cosmology -I/usr/include/python3.13 -c esutil/cosmology/cosmolib.c -o build/temp.linux-x86_64-cpython-313/esutil/cosmology/cosmolib.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python-esutil/src=/usr/src/debug/python-esutil -flto=auto -fPIC -I/usr/lib/python3.13/site-packages/numpy/_core/include -Iesutil/include -Iesutil/cosmology -I/usr/include/python3.13 -c esutil/cosmology/cosmolib_pywrap.c -o build/temp.linux-x86_64-cpython-313/esutil/cosmology/cosmolib_pywrap.o
In file included from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /usr/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from esutil/cosmology/cosmolib_pywrap.c:29:
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_ez_inverse_vec’:
esutil/cosmology/cosmolib_pywrap.c:152:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
152 | n = PyArray_SIZE(zObj);
| ^~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:152:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
152 | n = PyArray_SIZE(zObj);
| ^~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:153:32: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
153 | z = (double* )PyArray_DATA(zObj);
| ^~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:156:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
156 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dc_vec1’:
esutil/cosmology/cosmolib_pywrap.c:210:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
210 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:210:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
210 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:211:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
211 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:214:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
214 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dc_vec2’:
esutil/cosmology/cosmolib_pywrap.c:234:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
234 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:234:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
234 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:235:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
235 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:238:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
238 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dc_2vec’:
esutil/cosmology/cosmolib_pywrap.c:257:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
257 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:257:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
257 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:258:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
258 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:259:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
259 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:262:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
262 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dm_vec1’:
esutil/cosmology/cosmolib_pywrap.c:296:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
296 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:296:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
296 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:297:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
297 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:300:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
300 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dm_vec2’:
esutil/cosmology/cosmolib_pywrap.c:320:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
320 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:320:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
320 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:321:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
321 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:324:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
324 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dm_2vec’:
esutil/cosmology/cosmolib_pywrap.c:343:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
343 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:343:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
343 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:344:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
344 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:345:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
345 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:348:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
348 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Da_vec1’:
esutil/cosmology/cosmolib_pywrap.c:383:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
383 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:383:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
383 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:384:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
384 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:387:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
387 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Da_vec2’:
esutil/cosmology/cosmolib_pywrap.c:407:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
407 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:407:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
407 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:408:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
408 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:411:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
411 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Da_2vec’:
esutil/cosmology/cosmolib_pywrap.c:430:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
430 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:430:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
430 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:431:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
431 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:432:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
432 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:435:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
435 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dl_vec1’:
esutil/cosmology/cosmolib_pywrap.c:470:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
470 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:470:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
470 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:471:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
471 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:474:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
474 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dl_vec2’:
esutil/cosmology/cosmolib_pywrap.c:494:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
494 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:494:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
494 | n = PyArray_SIZE(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:495:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
495 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:498:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
498 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_Dl_2vec’:
esutil/cosmology/cosmolib_pywrap.c:517:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
517 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:517:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
517 | n = PyArray_SIZE(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:518:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
518 | zmin = (double* )PyArray_DATA(zminObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:519:35: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
519 | zmax = (double* )PyArray_DATA(zmaxObj);
| ^~~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:522:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
522 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_dV_vec’:
esutil/cosmology/cosmolib_pywrap.c:556:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
556 | n = PyArray_SIZE(zObj);
| ^~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:556:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
556 | n = PyArray_SIZE(zObj);
| ^~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:557:32: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
557 | z = (double* )PyArray_DATA(zObj);
| ^~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:560:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
560 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_scinv_vec1’:
esutil/cosmology/cosmolib_pywrap.c:612:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
612 | n = PyArray_SIZE(zlObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:612:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
612 | n = PyArray_SIZE(zlObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:613:33: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
613 | zl = (double* )PyArray_DATA(zlObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:616:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
616 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_scinv_vec2’:
esutil/cosmology/cosmolib_pywrap.c:636:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
636 | n = PyArray_SIZE(zsObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:636:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
636 | n = PyArray_SIZE(zsObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:637:33: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
637 | zs = (double* )PyArray_DATA(zsObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:640:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
640 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c: In function ‘PyCosmoObject_scinv_2vec’:
esutil/cosmology/cosmolib_pywrap.c:659:22: error: passing argument 1 of ‘PyArray_DIMS’ from incompatible pointer type [-Wincompatible-pointer-types]
659 | n = PyArray_SIZE(zlObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:59: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1524:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1524 | PyArray_DIMS(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:659:22: error: passing argument 1 of ‘PyArray_NDIM’ from incompatible pointer type [-Wincompatible-pointer-types]
659 | n = PyArray_SIZE(zlObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:79:76: note: in definition of macro ‘PyArray_SIZE’
79 | #define PyArray_SIZE(m) PyArray_MultiplyList(PyArray_DIMS(m), PyArray_NDIM(m))
| ^
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1506:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1506 | PyArray_NDIM(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:660:33: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
660 | zl = (double* )PyArray_DATA(zlObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:661:33: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
661 | zs = (double* )PyArray_DATA(zsObj);
| ^~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
esutil/cosmology/cosmolib_pywrap.c:664:34: error: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
664 | res = (double* )PyArray_DATA(resObj);
| ^~~~~~
| |
| PyObject * {aka struct _object *}
/usr/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1512:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1512 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR:(B A failure occurred in build().(B
 Aborting...(B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment