summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2024-06-17 14:06:21 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2024-06-17 14:36:46 +0900
commit88fd9bb81ccecfc6ecdc3dc3db0c7db5cc868739 (patch)
tree9623fbab947ed2a02e6af1f1cfbd2935d3f6605b
parent0b0a6d648369080ce1690c085b27f58be6bb5b1e (diff)
downloadhdf5-tizen_9.0.tar.gz
hdf5-tizen_9.0.tar.bz2
hdf5-tizen_9.0.zip
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.spec2
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