From 7ef8a69d903e4a609afeffde1e9d83ecd87e860a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 4 Feb 2025 18:32:21 +0100 Subject: hdf5: add -Wno-error to allow building native with gcc-14 on host Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb b/meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb index 4110e9cea4..669fa1c03f 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb @@ -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" -- cgit v1.2.3-54-g00ecf