hdf5: add -Wno-error to allow building native with gcc-14 on host
PATCH 1/2 hdf5: add -Wno-error to allow building native with gcc-14 on host
Signed-off-by Martin Jansa <[email protected]>
--- meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb +6 -0
@@ -58,3 +58,9 @@ do_install:append() { BBCLASSEXTEND = "native" SRC_DISTRIBUTE_LICENSES += "HDF5" + +# work/x86_64-linux/hdf5-native/1.8.21-r0/hdf5-1.8.21/src/H5Eprivate.h:76:40: error: assignment to ?H5A_t *? from ?int? makes pointer from integer without a cast [-Wint-conversion] +# work/x86_64-linux/hdf5-native/1.8.21-r0/hdf5-1.8.21/src/H5Dio.c:475:5: error: implicit declaration of function ?H5T_patch_vlen_file?; did you mean ?H5T_patch_file?? [-Wimplicit-function-declaration] +# work/x86_64-linux/hdf5-native/1.8.21-r0/hdf5-1.8.21/test/dsets.c:9151:8: error: implicit declaration of function ?H5D__layout_compact_dirty_test? [-Wimplicit-function-declaration] +# work/x86_64-linux/hdf5-native/1.8.21-r0/hdf5-1.8.21/test/testframe.c:616:31: error: passing argument 2 of ?H5Eset_auto2? from incompatible pointer type [-Wincompatible-pointer-types] +BUILD_CFLAGS += "-Wno-error=int-conversion -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"
Signature · 1 line
2.48.1
PATCH 2/2 python3-h5py: add -Wno-error to allow building native with gcc-14 on host
Signed-off-by Martin Jansa <[email protected]>
--- meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-h5py_3.6.0.bb +4 -0
@@ -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"
Signature · 1 line
2.48.1