summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2025-02-04 18:32:21 +0100
committerArmin Kuster <akuster808@gmail.com>2025-02-09 07:58:21 -0800
commit7ef8a69d903e4a609afeffde1e9d83ecd87e860a (patch)
tree159dca7230a4d101e49a3b1c5a9ddd6ac2bc8cd1
parent6ca163ed3e1269c44889ba972ceeab8e61f293ff (diff)
downloadmeta-openembedded-7ef8a69d903e4a609afeffde1e9d83ecd87e860a.tar.gz
hdf5: add -Wno-error to allow building native with gcc-14 on host
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb6
1 files changed, 6 insertions, 0 deletions
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() {
58BBCLASSEXTEND = "native" 58BBCLASSEXTEND = "native"
59 59
60SRC_DISTRIBUTE_LICENSES += "HDF5" 60SRC_DISTRIBUTE_LICENSES += "HDF5"
61
62# 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]
63# 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]
64# 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]
65# 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]
66BUILD_CFLAGS += "-Wno-error=int-conversion -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"