diff mbox series

[meta-oe,kirkstone,2/2] python3-h5py: add -Wno-error to allow building native with gcc-14 on host

Message ID 20250204173222.304849-2-martin.jansa@gmail.com
State New
Headers show
Series [meta-oe,kirkstone,1/2] hdf5: add -Wno-error to allow building native with gcc-14 on host | expand

Commit Message

Martin Jansa Feb. 4, 2025, 5:32 p.m. UTC
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb
index 64abe73cba..df57bfd884 100644
--- a/meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb
@@ -29,3 +29,7 @@  RDEPENDS:${PN} = "python3-numpy \
                  "
 
 export HDF5_VERSION="1.8.21"
+
+# h5py/_errors.c:2115:64: error: passing argument 3 of ?H5Ewalk2? from incompatible pointer type [-Wincompatible-pointer-types]
+# h5py/_errors.c:2365:66: error: passing argument 3 of ?H5Ewalk2? from incompatible pointer type [-Wincompatible-pointer-types]
+BUILD_CFLAGS += "-Wno-error=incompatible-pointer-types"