diff options
author | Tae-Young Chung <ty83.chung@samsung.com> | 2024-06-17 14:06:21 +0900 |
---|---|---|
committer | Tae-Young Chung <ty83.chung@samsung.com> | 2024-06-17 14:36:46 +0900 |
commit | 88fd9bb81ccecfc6ecdc3dc3db0c7db5cc868739 (patch) | |
tree | 9623fbab947ed2a02e6af1f1cfbd2935d3f6605b | |
parent | 0b0a6d648369080ce1690c085b27f58be6bb5b1e (diff) | |
download | hdf5-tizen_9.0.tar.gz hdf5-tizen_9.0.tar.bz2 hdf5-tizen_9.0.zip |
Fix build break on gcc14tizen_9.0_m2_releaseaccepted/tizen/unified/dev/20240701.073059accepted/tizen/unified/20240620.050801accepted/tizen/9.0/unified/20241030.234949tizen_9.0tizenaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Add -Wno-incompatible-pointer-types to resolve:
---------------------------------
[ 362s] ../../../tools/lib/h5tools_str.c:1085:37: error:
assignment to 'struct H5LD_memb_t **' from incompatible pointer type
'const struct H5LD_memb_t * const*' [-Wincompatible-pointer-types]
[ 362s] 1085 | ctx->cmpd_listv = info->cmpd_listv;
--------------------------------
Add -Wno-implicit-function-declaration to resolve:
----------------------------------
[ 219s] hl/src/H5LTanalyze.c:2110:40: error:
implicit declaration of function 'isatty' [-Wimplicit-function-declaration]
---------------------------------
Change-Id: I5ee5a0ab268c51ebc23fc137a6e74e206bb57b16
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r-- | packaging/hdf5.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/hdf5.spec b/packaging/hdf5.spec index ff6913f..f4138dc 100644 --- a/packaging/hdf5.spec +++ b/packaging/hdf5.spec @@ -387,6 +387,8 @@ fi test -e config/linux-gnueabi || cp config/linux-gnu config/linux-gnueabi %endif +export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types -Wno-implicit-function-declaration" + # NOTE: --enable-unsupported is required when --enable-fortran # and/or --enable-cxx is enabled along with --enable-threadsafe. # Building with thise combination results in thread-safe C |