+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hdf5-c++-1.10.7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hdf5-c++-1.10.7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for hdf5-c++-1.10.7 Making all in src /opt/pkg/bin/bmake all-am CC H5.lo In file included from H5.c:22: H5.c: In function 'H5check_version': H5private.h:1470:31: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ H5.c:889:6: note: in expansion of macro 'HDstrncat' 889 | HDstrncat(lib_str, "-", (size_t)1); | ^~~~~~~~~ CC H5checksum.lo CC H5dbg.lo CC H5system.lo In file included from H5system.c:33: H5system.c: In function 'H5_build_extpath': H5private.h:1470:31: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ H5system.c:1306:17: note: in expansion of macro 'HDstrncat' 1306 | HDstrncat(full_path, H5_DIR_SEPS, HDstrlen(H5_DIR_SEPS)); | ^~~~~~~~~ H5private.h:1470:31: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ H5system.c:1307:13: note: in expansion of macro 'HDstrncat' 1307 | HDstrncat(full_path, new_name, HDstrlen(new_name)); | ^~~~~~~~~ CC H5timer.lo In file included from H5timer.c:32: H5timer.c: In function 'H5_timer_get_time_string': H5private.h:1431:26: warning: 'remainder_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] 1431 | #define HDsprintf sprintf /*varargs*/ | ^~~~~~~ H5timer.c:603:12: note: 'remainder_sec' was declared here 603 | double remainder_sec; | ^~~~~~~~~~~~~ In file included from H5timer.c:32: H5private.h:1431:26: warning: 'minutes' may be used uninitialized in this function [-Wmaybe-uninitialized] 1431 | #define HDsprintf sprintf /*varargs*/ | ^~~~~~~ H5timer.c:602:12: note: 'minutes' was declared here 602 | double minutes; | ^~~~~~~ In file included from H5timer.c:32: H5private.h:1431:26: warning: 'hours' may be used uninitialized in this function [-Wmaybe-uninitialized] 1431 | #define HDsprintf sprintf /*varargs*/ | ^~~~~~~ H5timer.c:601:12: note: 'hours' was declared here 601 | double hours; | ^~~~~ In file included from H5timer.c:32: H5private.h:1431:26: warning: 'days' may be used uninitialized in this function [-Wmaybe-uninitialized] 1431 | #define HDsprintf sprintf /*varargs*/ | ^~~~~~~ H5timer.c:600:12: note: 'days' was declared here 600 | double days; | ^~~~ CC H5trace.lo H5trace.c: In function 'H5_trace': H5trace.c:244:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 244 | unsigned n = (unsigned)MAX (0, (int)HDstrlen(argname) - 3); | ^~~~~~~~ CC H5A.lo In file included from H5A.c:25: H5A.c: In function 'H5Aget_name_by_idx': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5A.c:902:9: note: in expansion of macro 'HDstrncpy' 902 | HDstrncpy(name, attr->shared->name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5A.c:898:26: note: in expansion of macro 'HDstrlen' 898 | ret_value = (ssize_t)HDstrlen(attr->shared->name); | ^~~~~~~~ CC H5Abtree2.lo CC H5Adense.lo H5Adense.c: In function 'H5A__dense_fnd_cb': H5Adense.c:314:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | H5A_t *old_attr = *user_attr; | ^ CC H5Adeprec.lo CC H5Aint.lo CC H5Atest.lo CC H5AC.lo CC H5ACdbg.lo CC H5ACproxy_entry.lo CC H5B.lo CC H5Bcache.lo CC H5Bdbg.lo H5Bdbg.c: In function 'H5B_debug': H5Bdbg.c:129:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 129 | "Address:", bt->child[u]); | ^~~~~~~~~~ H5Bdbg.c:135:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 135 | "Left Key:"); | ^~~~~~~~~~~ H5Bdbg.c:137:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 137 | (void)(type->debug_key)(stream, indent + 6, MAX(0, fwidth - 6), H5B_NKEY(bt, shared, u), udata); | ^ H5Bdbg.c:141:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 141 | "Right Key:"); | ^~~~~~~~~~~~ H5Bdbg.c:143:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 143 | (void)(type->debug_key)(stream, indent + 6, MAX (0, fwidth - 6), H5B_NKEY(bt, shared, u + 1), udata); | ^ CC H5B2.lo CC H5B2cache.lo CC H5B2dbg.lo H5B2dbg.c: In function 'H5B2__hdr_debug': H5B2dbg.c:158:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 158 | hdr->node_info[u].max_nrec, hdr->node_info[u].split_nrec, hdr->node_info[u].merge_nrec); | ^~~ H5B2dbg.c: In function 'H5B2__int_debug': H5B2dbg.c:252:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 252 | internal->node_ptrs[u].addr); | ^~~~~~~~ H5B2dbg.c:257:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 257 | temp_str); | ^~~~~~~~ H5B2dbg.c:259:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 259 | (void)(type->debug)(stream, indent + 6, MAX (0, fwidth-6), H5B2_INT_NREC(internal, hdr, u), hdr->cb_ctx); | ^ H5B2dbg.c:268:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 268 | internal->node_ptrs[u].addr); | ^~~~~~~~ H5B2dbg.c: In function 'H5B2__leaf_debug': H5B2dbg.c:360:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 360 | temp_str); | ^~~~~~~~ H5B2dbg.c:362:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 362 | (void)(type->debug)(stream, indent + 6, MAX (0, fwidth-6), H5B2_LEAF_NREC(leaf, hdr, u), hdr->cb_ctx); | ^ CC H5B2hdr.lo CC H5B2int.lo H5B2int.c: In function 'H5B2__iterate_node': H5B2int.c:1521:68: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1521 | if(NULL == (internal = H5B2__protect_internal(hdr, parent, (H5B2_node_ptr_t *)curr_node, depth, FALSE, H5AC__READ_ONLY_FLAG))) /* Casting away const OK -QAK */ | ^ H5B2int.c:1540:60: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1540 | if(NULL == (leaf = H5B2__protect_leaf(hdr, parent, (H5B2_node_ptr_t *)curr_node, FALSE, H5AC__READ_ONLY_FLAG))) /* Casting away const OK -QAK */ | ^ H5B2int.c: In function 'H5B2__delete_node': H5B2int.c:1630:68: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1630 | if(NULL == (internal = H5B2__protect_internal(hdr, parent, (H5B2_node_ptr_t *)curr_node, depth, FALSE, H5AC__NO_FLAGS_SET))) /* Casting away const OK -QAK */ | ^ H5B2int.c:1647:60: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1647 | if(NULL == (leaf = H5B2__protect_leaf(hdr, parent, (H5B2_node_ptr_t *)curr_node, FALSE, H5AC__NO_FLAGS_SET))) /* Casting away const OK -QAK */ | ^ H5B2int.c: In function 'H5B2__node_size': H5B2int.c:1706:64: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1706 | if(NULL == (internal = H5B2__protect_internal(hdr, parent, (H5B2_node_ptr_t *)curr_node, depth, FALSE, H5AC__READ_ONLY_FLAG))) /* Casting away const OK -QAK */ | ^ H5B2int.c: In function 'H5B2__update_flush_depend': H5B2int.c:1808:77: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1808 | if(NULL == (child_int = H5B2__protect_internal(hdr, new_parent, (H5B2_node_ptr_t *)node_ptr, (uint16_t)(depth - 1), FALSE, H5AC__NO_FLAGS_SET))) /* Casting away const OK -QAK */ | ^ H5B2int.c:1824:74: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1824 | if(NULL == (child_leaf = H5B2__protect_leaf(hdr, new_parent, (H5B2_node_ptr_t *)node_ptr, FALSE, H5AC__NO_FLAGS_SET))) /* Casting away const OK -QAK */ | ^ CC H5B2internal.lo CC H5B2leaf.lo CC H5B2stat.lo CC H5B2test.lo CC H5C.lo H5C.c: In function 'H5C_flush_cache': H5C.c:1212:14: warning: variable 'ignore_protected' set but not used [-Wunused-but-set-variable] 1212 | hbool_t ignore_protected; | ^~~~~~~~~~~~~~~~ In file included from H5C.c:82: H5C.c: In function 'H5C__unpin_entry_real': H5private.h:2130:13: warning: unused variable 'err_occurred' [-Wunused-variable] 2130 | hbool_t err_occurred = FALSE; \ | ^~~~~~~~~~~~ H5private.h:2350:5: note: in expansion of macro 'FUNC_ENTER_COMMON' 2350 | FUNC_ENTER_COMMON(H5_IS_PKG(FUNC)); \ | ^~~~~~~~~~~~~~~~~ H5C.c:4359:5: note: in expansion of macro 'FUNC_ENTER_STATIC' 4359 | FUNC_ENTER_STATIC | ^~~~~~~~~~~~~~~~~ H5C.c:4376:1: warning: label 'done' defined but not used [-Wunused-label] 4376 | done: | ^~~~ H5C.c: In function 'H5C__autoadjust__ageout__remove_all_markers': H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 9820 | } /* H5C__remove_entry() */ | ^ H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_clean': H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__autoadjust__ageout__insert_new_marker': H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__autoadjust__ageout__remove_excess_markers': H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__autoadjust__ageout__cycle_epoch_marker': H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_serialized': H5C.c:9820:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_clean': H5C.c:8795:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8795 | H5C__mark_flush_dep_clean(H5C_cache_entry_t * entry) | ^~~~~~~~~~~~~~~~~~~~~~~~~ H5C.c:8795:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:8795:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_serialized': H5C.c:8842:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8842 | H5C__mark_flush_dep_serialized(H5C_cache_entry_t * entry_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5C.c:8842:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:8842:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__flush_invalidate_cache': H5C.c:5612:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5612 | H5C__flush_invalidate_cache(H5F_t *f, unsigned flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5Cdbg.lo CC H5Cepoch.lo CC H5Cimage.lo In file included from H5Cprivate.h:35, from H5Cpkg.h:37, from H5Cimage.c:42: H5Cimage.c: In function 'H5C__reconstruct_cache_entry': H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Cimage.c:3397:5: note: in expansion of macro 'INT32DECODE' 3397 | INT32DECODE(p, pf_entry_ptr->lru_rank); | ^~~~~~~~~~~ H5Cimage.c: In function 'H5C__prep_for_file_close__setup_image_entries_array': H5Cimage.c:3575:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3575 | } /* H5C__write_cache_image() */ | ^ H5Cimage.c:3575:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c: In function 'H5C__deserialize_prefetched_entry': H5Cimage.c:3575:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c:471:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 471 | H5C__deserialize_prefetched_entry(H5F_t *f, H5C_t *cache_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Cimage.c:471:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c:471:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Clog.lo CC H5Clog_json.lo CC H5Clog_trace.lo CC H5Cprefetched.lo CC H5Cquery.lo CC H5Ctag.lo CC H5Ctest.lo CC H5CS.lo CC H5CX.lo CC H5D.lo CC H5Dbtree.lo CC H5Dbtree2.lo CC H5Dchunk.lo H5Dchunk.c: In function 'H5D__chunk_io_init': H5Dchunk.c:1129:60: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1129 | if((file_space_normalized = H5S_hyper_normalize_offset((H5S_t *)file_space, old_offset)) < 0) | ^ H5Dchunk.c:1166:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1166 | if(H5S_hyper_denormalize_offset((H5S_t *)file_space, old_offset) < 0) /* (Casting away const OK -QAK) */ | ^ H5Dchunk.c: In function 'H5D__create_chunk_map_single': H5Dchunk.c:1590:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1590 | chunk_info->mspace = (H5S_t *)fm->mem_space; | ^ H5Dchunk.c: In function 'H5D__create_chunk_file_map_hyper': H5Dchunk.c:1873:40: warning: passing argument 1 of 'H5S_combine_hyperslab' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1873 | if(H5S_combine_hyperslab(fm->file_space, H5S_SELECT_AND, coords, NULL, fm->chunk_dim, NULL, &tmp_fchunk) < 0) | ~~^~~~~~~~~~~~ In file included from H5Rprivate.h:26, from H5Tprivate.h:32, from H5Zprivate.h:28, from H5CXprivate.h:30, from H5Dchunk.c:55: H5Sprivate.h:313:44: note: expected 'H5S_t *' but argument is of type 'const H5S_t *' 313 | H5_DLL herr_t H5S_combine_hyperslab(H5S_t *old_space, H5S_seloper_t op, | ~~~~~~~^~~~~~~~~ H5Dchunk.c: In function 'H5D__create_chunk_mem_map_hyper': H5Dchunk.c:2023:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 2023 | chunk_info->mspace = (H5S_t *)fm->mem_space; | ^ H5Dchunk.c: In function 'H5D__create_chunk_mem_map_1d': H5Dchunk.c:2146:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 2146 | chunk_info->mspace = (H5S_t *)fm->mem_space; | ^ H5Dchunk.c: In function 'H5D__chunk_allocate': H5Dchunk.c:4433:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 4433 | (void *)pline, (H5MM_free_t)H5D__chunk_mem_xfree, (void *)pline, | ^ H5Dchunk.c:4433:32: warning: cast between incompatible function types from 'void * (*)(void *, const H5O_pline_t *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4433 | (void *)pline, (H5MM_free_t)H5D__chunk_mem_xfree, (void *)pline, | ^ H5Dchunk.c:4433:67: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 4433 | (void *)pline, (H5MM_free_t)H5D__chunk_mem_xfree, (void *)pline, | ^ H5Dchunk.c:4482:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4482 | idx_info.storage = sc; | ^ H5Dchunk.c: In function 'H5D__chunk_copy_cb': H5Dchunk.c:6159:111: warning: passing argument 5 of 'H5D__chunk_file_alloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6159 | if(H5D__chunk_file_alloc(udata->idx_info_dst, NULL, &udata_dst.chunk_block, &need_insert, udata_dst.common.scaled) < 0) | ~~~~~~~~~~~~~~~~^~~~~~~ In file included from H5Dchunk.c:56: H5Dpkg.h:653:59: note: expected 'hsize_t *' {aka 'long long unsigned int *'} but argument is of type 'const hsize_t *' {aka 'const long long unsigned int *'} 653 | H5F_block_t *new_chunk, hbool_t *need_insert, hsize_t scaled[]); | ~~~~~~~~^~~~~~~~ H5Dchunk.c: In function 'H5D__chunk_update_old_edge_chunks': H5Dchunk.c:7492:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7492 | } /* end H5D__get_chunk_info_by_coord() */ | ^ H5Dchunk.c:7492:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function 'H5D__chunk_allocate': H5Dchunk.c:7492:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function 'H5D__chunk_update_old_edge_chunks': H5Dchunk.c:4771:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4771 | H5D__chunk_update_old_edge_chunks(H5D_t *dset, hsize_t old_dim[]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Dchunk.c:4771:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c:4771:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function 'H5D__chunk_allocate': H5Dchunk.c:4309:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4309 | H5D__chunk_allocate(const H5D_io_info_t *io_info, hbool_t full_overwrite, hsize_t old_dim[]) | ^~~~~~~~~~~~~~~~~~~ H5Dchunk.c:4309:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c:4309:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function 'H5D__chunk_copy_cb': H5Dchunk.c:6063:33: warning: potential null pointer dereference [-Wnull-dereference] 6063 | H5MM_memcpy(buf, ent->chunk, nbytes); | ~~~^~~~~~~ H5Dchunk.c:6063:33: warning: potential null pointer dereference [-Wnull-dereference] CC H5Dcompact.lo CC H5Dcontig.lo CC H5Ddbg.lo CC H5Ddeprec.lo CC H5Dearray.lo CC H5Defl.lo CC H5Dfarray.lo CC H5Dfill.lo CC H5Dint.lo H5Dint.c:100:21: warning: size of 'H5D_def_dset' 4672 bytes exceeds maximum object size 2560 [-Wlarger-than=] 100 | static H5D_shared_t H5D_def_dset; | ^~~~~~~~~~~~ H5Dint.c: In function 'H5D__init_type': H5Dint.c:563:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 563 | dset->shared->type = (H5T_t *)type; /* (Cast away const OK - QAK) */ | ^ In file included from H5Dint.c:24: H5Dint.c: In function 'H5D_nameof': H5Dint.c:2230:49: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2230 | FUNC_LEAVE_NOAPI(dataset ? &(dataset->path) : NULL) H5private.h:2437:12: note: in definition of macro 'FUNC_LEAVE_NOAPI' 2437 | return(ret_value); \ | ^~~~~~~~~ H5Dint.c: In function 'H5D_flush_all': H5Dint.c:3327:52: warning: passing argument 3 of 'H5I_iterate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3327 | if(H5I_iterate(H5I_DATASET, H5D__flush_all_cb, f, FALSE) < 0) /* Casting away const OK -QAK */ | ^ In file included from H5Dint.c:31: H5Iprivate.h:70:74: note: expected 'void *' but argument is of type 'const H5F_t *' 70 | H5_DLL herr_t H5I_iterate(H5I_type_t type, H5I_search_func_t func, void *udata, hbool_t app_ref); | ~~~~~~^~~~~ CC H5Dio.lo H5Dio.c: In function 'H5D__read': H5Dio.c:524:66: warning: to be safe all intermediate pointers in cast from 'void **' to 'const void **' must be 'const' qualified [-Wcast-qual] 524 | (unsigned)H5S_GET_EXTENT_NDIMS(file_space), buf, (const void **)&adj_buf, type_info.dst_type_size) < 0) | ^ H5Dio.c: In function 'H5D__write': H5Dio.c:756:66: warning: to be safe all intermediate pointers in cast from 'void **' to 'const void **' must be 'const' qualified [-Wcast-qual] 756 | (unsigned)H5S_GET_EXTENT_NDIMS(file_space), buf, (const void **)&adj_buf, type_info.src_type_size) < 0) | ^ CC H5Dlayout.lo CC H5Dnone.lo CC H5Doh.lo CC H5Dscatgath.lo CC H5Dselect.lo CC H5Dsingle.lo CC H5Dtest.lo CC H5Dvirtual.lo CC H5E.lo In file included from H5E.c:52: In function 'H5E__get_class_name', inlined from 'H5Eget_class_name' at H5E.c:609:21: H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5E.c:645:8: note: in expansion of macro 'HDstrncpy' 645 | HDstrncpy(name, cls->cls_name, MIN((size_t)(len + 1), size)); | ^~~~~~~~~ H5E.c: In function 'H5Eget_class_name': H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5E.c:641:20: note: in expansion of macro 'HDstrlen' 641 | len = (ssize_t)HDstrlen(cls->cls_name); | ^~~~~~~~ CC H5Edeprec.lo CC H5Eint.lo In file included from H5Eint.c:35: H5Eint.c: In function 'H5E__get_msg': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Eint.c:144:8: note: in expansion of macro 'HDstrncpy' 144 | HDstrncpy(msg_str, msg->msg, MIN((size_t)(len+1), size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Eint.c:140:20: note: in expansion of macro 'HDstrlen' 140 | len = (ssize_t)HDstrlen(msg->msg); | ^~~~~~~~ CC H5EA.lo CC H5EAcache.lo CC H5EAdbg.lo H5EAdbg.c: In function 'H5EA__iblock_debug': H5EAdbg.c:251:21: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 251 | ((uint8_t *)iblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^ H5EAdbg.c:268:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 268 | iblock->dblk_addrs[u]); | ^~~~~~ H5EAdbg.c:284:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 284 | iblock->sblk_addrs[u]); | ^~~~~~ H5EAdbg.c: In function 'H5EA__sblock_debug': H5EAdbg.c:374:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 374 | sblock->dblk_addrs[u]); | ^~~~~~ H5EAdbg.c: In function 'H5EA__dblock_debug': H5EAdbg.c:455:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 455 | ((uint8_t *)dblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^ CC H5EAdblkpage.lo CC H5EAdblock.lo CC H5EAhdr.lo CC H5EAiblock.lo CC H5EAint.lo CC H5EAsblock.lo CC H5EAstat.lo CC H5EAtest.lo CC H5F.lo In file included from H5F.c:24: H5F.c: In function 'H5Fget_name': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5F.c:1072:9: note: in expansion of macro 'HDstrncpy' 1072 | HDstrncpy(name, H5F_OPEN_NAME(f), MIN(len + 1,size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5F.c:1069:11: note: in expansion of macro 'HDstrlen' 1069 | len = HDstrlen(H5F_OPEN_NAME(f)); | ^~~~~~~~ CC H5Faccum.lo CC H5Fcwfs.lo CC H5Fdbg.lo H5Fdbg.c: In function 'H5F_debug': H5Fdbg.c:125:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 125 | H5G__ent_debug(f->shared->sblock->root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL); | ^~~~~~~~~~~~~~ H5Fdbg.c:140:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 140 | H5G__ent_debug(&root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL); | ^~~~~~~~~~~~~~ CC H5Fdeprec.lo CC H5Fefc.lo CC H5Ffake.lo CC H5Fint.lo CC H5Fio.lo CC H5Fmount.lo CC H5Fquery.lo CC H5Fsfile.lo CC H5Fspace.lo CC H5Fsuper.lo H5Fsuper.c: In function 'H5F__super_read': H5Fsuper.c:528:11: warning: this condition has identical branches [-Wduplicated-branches] 528 | if(H5F_addr_lt(super_addr, sblock->base_addr)) | ^ CC H5Fsuper_cache.lo CC H5Ftest.lo CC H5FA.lo CC H5FAcache.lo CC H5FAdbg.lo H5FAdbg.c: In function 'H5FA__dblock_debug': H5FAdbg.c:251:21: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 251 | if((hdr->cparam.cls->debug)(stream, (indent + 3), MAX(0, (fwidth - 3)), (hsize_t)u, ((uint8_t *)dblk_page->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^~ H5FAdbg.c:267:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 267 | if((hdr->cparam.cls->debug)(stream, (indent + 3), MAX(0, (fwidth - 3)), (hsize_t)u, ((uint8_t *)dblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^~ CC H5FAdblock.lo CC H5FAdblkpage.lo CC H5FAhdr.lo CC H5FAint.lo CC H5FAstat.lo CC H5FAtest.lo CC H5FD.lo CC H5FDcore.lo CC H5FDfamily.lo H5FDfamily.c: In function 'H5FD__family_get_eof': H5FDfamily.c:1369:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1369 | } /* end H5FD__family_unlock() */ | ^ H5FDfamily.c:1011:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1011 | H5FD__family_get_eof(const H5FD_t *_file, H5FD_mem_t type) | ^~~~~~~~~~~~~~~~~~~~ H5FDfamily.c:1011:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5FDhdfs.lo H5FDhdfs.c: In function 'H5Pget_fapl_hdfs': H5FDhdfs.c:1761:24: warning: unused parameter 'fapl_id' [-Wunused-parameter] 1761 | H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_out) | ~~~~~~^~~~~~~ H5FDhdfs.c:1761:51: warning: unused parameter 'fa_out' [-Wunused-parameter] 1761 | H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_out) | ~~~~~~~~~~~~~~~~~~^~~~~~ H5FDhdfs.c: In function 'H5Pset_fapl_hdfs': H5FDhdfs.c:1775:24: warning: unused parameter 'fapl_id' [-Wunused-parameter] 1775 | H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa) | ~~~~~~^~~~~~~ H5FDhdfs.c:1775:51: warning: unused parameter 'fa' [-Wunused-parameter] 1775 | H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa) | ~~~~~~~~~~~~~~~~~~^~ CC H5FDint.lo CC H5FDlog.lo CC H5FDmulti.lo H5FDmulti.c: In function 'H5FD_multi_sb_encode': H5FDmulti.c:657:5: warning: 'strncpy' output truncated copying 8 bytes from a string of length 9 [-Wstringop-truncation] 657 | strncpy(name, "NCSAmulti", (size_t)8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5FDmulti.c:692:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 692 | strncpy((char *)p, file->fa.memb_name[mt], n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5FDmulti.c:691:20: note: length computed here 691 | size_t n = strlen(file->fa.memb_name[mt]) + 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5FDsec2.lo CC H5FDspace.lo CC H5FDsplitter.lo In file included from H5FDsplitter.c:22: H5FDsplitter.c: In function 'H5FD__splitter_fapl_copy': H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:599:5: note: in expansion of macro 'HDstrncpy' 599 | HDstrncpy(new_fa_ptr->wo_path, old_fa_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:600:5: note: in expansion of macro 'HDstrncpy' 600 | HDstrncpy(new_fa_ptr->log_file_path, old_fa_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5FDsplitter.c: In function 'H5FD__splitter_open': H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:703:5: note: in expansion of macro 'HDstrncpy' 703 | HDstrncpy(file_ptr->fa.wo_path, fapl_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:704:5: note: in expansion of macro 'HDstrncpy' 704 | HDstrncpy(file_ptr->fa.log_file_path, fapl_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5FDsplitter.c: In function 'H5Pset_fapl_splitter': H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:346:5: note: in expansion of macro 'HDstrncpy' 346 | HDstrncpy(info->wo_path, vfd_config->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:347:5: note: in expansion of macro 'HDstrncpy' 347 | HDstrncpy(info->log_file_path, vfd_config->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5FDsplitter.c: In function 'H5Pget_fapl_splitter': H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:419:5: note: in expansion of macro 'HDstrncpy' 419 | HDstrncpy(config_out->wo_path, fapl_ptr->wo_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ H5private.h:1476:31: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5FDsplitter.c:420:5: note: in expansion of macro 'HDstrncpy' 420 | HDstrncpy(config_out->log_file_path, fapl_ptr->log_file_path, H5FD_SPLITTER_PATH_MAX); | ^~~~~~~~~ CC H5FDstdio.lo CC H5FDtest.lo CC H5FL.lo CC H5FO.lo CC H5FS.lo CC H5FScache.lo H5FScache.c: In function 'H5FS__cache_sinfo_deserialize': H5FScache.c:1002:17: warning: variable 'old_tot_sect_count' set but not used [-Wunused-but-set-variable] 1002 | hsize_t old_tot_sect_count; /* Total section count from header */ | ^~~~~~~~~~~~~~~~~~ H5FScache.c: In function 'H5FS__cache_sinfo_serialize': H5FScache.c:1235:66: warning: unused parameter 'len' [-Wunused-parameter] 1235 | H5FS__cache_sinfo_serialize(const H5F_t *f, void *_image, size_t len, | ~~~~~~~^~~ CC H5FSdbg.lo H5FSdbg.c: In function 'H5FS_sects_debug': H5FSdbg.c:281:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 281 | if(H5HF_sects_debug(f, client_addr, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5FSdbg.c:286:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 286 | if(H5MF_sects_debug(f, fs_addr, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ CC H5FSint.lo CC H5FSsection.lo CC H5FSstat.lo CC H5FStest.lo CC H5G.lo CC H5Gbtree2.lo CC H5Gcache.lo CC H5Gcompact.lo In file included from H5Gcompact.c:28: H5Gcompact.c: In function 'H5G__compact_get_name_by_idx': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Gcompact.c:243:9: note: in expansion of macro 'HDstrncpy' 243 | HDstrncpy(name, ltable.lnks[idx].name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Gcompact.c:239:26: note: in expansion of macro 'HDstrlen' 239 | ret_value = (ssize_t)HDstrlen(ltable.lnks[idx].name); | ^~~~~~~~ CC H5Gdense.lo In file included from H5Gdense.c:35: H5Gdense.c: In function 'H5G__dense_get_name_by_idx': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Gdense.c:1222:13: note: in expansion of macro 'HDstrncpy' 1222 | HDstrncpy(name, ltable.lnks[n].name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Gdense.c:1218:30: note: in expansion of macro 'HDstrlen' 1218 | ret_value = (ssize_t)HDstrlen(ltable.lnks[n].name); | ^~~~~~~~ CC H5Gdeprec.lo CC H5Gent.lo H5Gent.c: In function 'H5G__ent_copy': H5Gent.c:338:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 338 | H5G__ent_reset((H5G_entry_t *)src); | ^ H5Gent.c: In function 'H5G__ent_debug': H5Gent.c:542:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 542 | nested_fwidth = MAX(0, fwidth - 3); | ^~~~~~~~~~~~~ CC H5Gint.lo CC H5Glink.lo CC H5Gloc.lo H5Gloc.c: In function 'H5G__loc_insert': H5Gloc.c:565:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 565 | lnk.name = (char *)name; | ^ H5Gloc.c: In function 'H5G__loc_set_comment_cb': H5Gloc.c:775:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 775 | comment.s = (char *)udata->comment; | ^ CC H5Gname.lo H5Gname.c: In function 'H5G_name_copy': H5Gname.c:532:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 532 | H5G_name_reset((H5G_name_t *)src); | ^ In file included from H5Gname.c:35: H5Gname.c: In function 'H5G_build_fullpath': H5private.h:1470:31: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ H5Gname.c:323:9: note: in expansion of macro 'HDstrncat' 323 | HDstrncat(full_path, "/", (size_t)1); | ^~~~~~~~~ CC H5Gnode.lo H5Gnode.c: In function 'H5G_node_remove': H5Gnode.c:756:22: warning: unused variable 'lt_key' [-Wunused-variable] 756 | H5G_node_key_t *lt_key = (H5G_node_key_t *)_lt_key; | ^~~~~~ H5Gnode.c: In function 'H5G__node_copy': H5Gnode.c:1255:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1255 | grp_loc.oloc = (H5O_loc_t *)src_oloc; | ^ H5Gnode.c: In function 'H5G_node_debug': H5Gnode.c:1517:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1517 | fwidth = MAX(0, fwidth - 3); | ^~~~~~ CC H5Gobj.lo H5Gobj.c: In function 'H5G__obj_create_real': H5Gobj.c:264:67: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 264 | if(H5O_msg_create(oloc, H5O_LINFO_ID, 0, H5O_UPDATE_TIME, (void *)linfo) < 0) | ^ H5Gobj.c:269:73: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 269 | if(H5O_msg_create(oloc, H5O_GINFO_ID, H5O_MSG_FLAG_CONSTANT, 0, (void *)ginfo) < 0) | ^ H5Gobj.c:275:77: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 275 | if(H5O_msg_create(oloc, H5O_PLINE_ID, H5O_MSG_FLAG_CONSTANT, 0, (void *)pline) < 0) | ^ H5Gobj.c: In function 'H5G_obj_stab_to_new_cb': H5Gobj.c:422:51: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 422 | if(H5G_obj_insert(udata->grp_oloc, lnk->name, (H5O_link_t *)lnk, FALSE, H5O_TYPE_UNKNOWN, NULL) < 0) | ^ H5Gobj.c: In function 'H5G__obj_info': H5Gobj.c:735:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 735 | if(H5O_loc_copy_deep(&grp_oloc, (H5O_loc_t *)oloc) < 0) | ^ CC H5Goh.lo CC H5Groot.lo CC H5Gstab.lo In file included from H5Gstab.c:29: H5Gstab.c: In function 'H5G__stab_get_name_by_idx': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Gstab.c:795:9: note: in expansion of macro 'HDstrncpy' 795 | HDstrncpy(name, udata.name, MIN((size_t)(ret_value + 1), size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Gstab.c:791:26: note: in expansion of macro 'HDstrlen' 791 | ret_value = (ssize_t)HDstrlen(udata.name); | ^~~~~~~~ CC H5Gtest.lo CC H5Gtraverse.lo H5Gtraverse.c: In function 'H5G__traverse_real': H5Gtraverse.c:726:52: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 726 | if(H5O_msg_reset(H5O_GINFO_ID, (void *)ginfo) < 0) | ^ H5Gtraverse.c:730:52: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 730 | if(H5O_msg_reset(H5O_LINFO_ID, (void *)linfo) < 0) | ^ H5Gtraverse.c:734:52: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 734 | if(H5O_msg_reset(H5O_PLINE_ID, (void *)pline) < 0) | ^ CC H5HF.lo H5HF.c: In function 'H5HF_op_write': H5HF.c:132:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 132 | H5MM_memcpy((void *)obj, op_data, obj_len); /* Casting away const OK -QAK */ | ^ H5HF.c: In function 'H5HF_insert': H5HF.c:371:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 371 | if(H5HF__huge_insert(hdr, size, (void *)obj, id) < 0) | ^ CC H5HFbtree2.lo CC H5HFcache.lo H5HFcache.c: In function 'H5HF__cache_hdr_serialize': H5HFcache.c:770:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 770 | hdr->f = f; | ^ H5HFcache.c: In function 'H5HF__cache_iblock_serialize': H5HFcache.c:1360:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1360 | hdr->f = f; | ^ H5HFcache.c: In function 'H5HF__cache_dblock_verify_chksum': H5HFcache.c:1689:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1689 | read_buf = (void *)image; /* Casting away const OK - QAK */ | ^ CC H5HFdbg.lo H5HFdbg.c: In function 'H5HF_hdr_print': H5HFdbg.c:328:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 328 | H5HF__dtable_debug(&hdr->man_dtable, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~~~ H5HFdbg.c:336:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 336 | hdr->pline_root_direct_size); | ^~~ H5HFdbg.c:339:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 339 | hdr->pline_root_direct_filter_mask); | ^~~ H5HFdbg.c:341:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 341 | H5O_debug_id(H5O_PLINE_ID, hdr->f, &(hdr->pline), stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~ H5HFdbg.c:351:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 351 | hdr->root_iblock_flags); | ^~~ H5HFdbg.c:354:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 354 | hdr->root_iblock); | ^~~ H5HFdbg.c: In function 'H5HF_dblock_debug_cb': H5HFdbg.c:468:3: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 468 | start, len); | ^~~~~ H5HFdbg.c: In function 'H5HF_iblock_print': H5HFdbg.c:683:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 683 | temp_str); | ^~~~~~~~ H5HFdbg.c:693:25: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 693 | iblock->filt_ents[off].filter_mask); | ^~~~~~ H5HFdbg.c:697:25: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 697 | iblock->ents[off].addr); | ^~~~~~ H5HFdbg.c:711:21: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 711 | temp_str); | ^~~~~~~~ H5HFdbg.c:718:25: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 718 | iblock->ents[off].addr); | ^~~~~~ H5HFdbg.c:724:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 724 | "<none>"); | ^~~~~~~~ H5HFdbg.c:733:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 733 | iblock->rc); | ^~~~~~ H5HFdbg.c:738:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 738 | iblock->parent); | ^~~~~~ H5HFdbg.c: In function 'H5HF_sects_debug_cb': H5HFdbg.c:845:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 845 | if(H5FS_sect_debug(udata->fspace, _sect, udata->stream, udata->indent + 3, MAX(0, udata->fwidth - 3)) < 0) | ^~ CC H5HFdblock.lo CC H5HFdtable.lo CC H5HFhdr.lo CC H5HFhuge.lo H5HFhuge.c: In function 'H5HF__huge_write': H5HFhuge.c:863:8: warning: 'obj_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 863 | if(H5F_block_write(hdr->f, H5FD_MEM_FHEAP_HUGE_OBJ, obj_addr, obj_size, obj) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5HFiblock.lo CC H5HFiter.lo CC H5HFman.lo H5HFman.c: In function 'H5HF__man_write': H5HFman.c:500:50: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 500 | if(H5HF__man_op_real(hdr, id, H5HF_op_write, (void *)obj, H5HF_OP_MODIFY) < 0) | ^ CC H5HFsection.lo H5HFsection.c: In function 'H5HF__sect_row_debug': H5HFsection.c:2108:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2108 | H5HF_sect_indirect_debug(sect->u.row.under, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~~~~~~~~~ H5HFsection.c: In function 'H5HF__sect_row_merge': H5HFsection.c:3541:25: warning: potential null pointer dereference [-Wnull-dereference] 3541 | if(sect2->u.indirect.dir_nrows > 0) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ H5HFsection.c:3535:16: warning: potential null pointer dereference [-Wnull-dereference] 3535 | start_row2 = sect2->u.indirect.row; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ CC H5HFspace.lo CC H5HFstat.lo CC H5HFtest.lo CC H5HFtiny.lo CC H5HG.lo CC H5HGcache.lo CC H5HGdbg.lo H5HGdbg.c: In function 'H5HG_debug': H5HGdbg.c:140:8: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 140 | (unsigned long)(h->obj[u].begin - h->chunk)); | ^ H5HGdbg.c:143:8: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 143 | h->obj[u].nrefs); | ^ H5HGdbg.c:148:8: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 148 | (unsigned long)H5HG_ALIGN(h->obj[u].size)); | ^ CC H5HGquery.lo CC H5HL.lo CC H5HLcache.lo CC H5HLdbg.lo H5HLdbg.c: In function 'H5HL_debug': H5HLdbg.c:91:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 91 | HDfprintf(stream, "%*s%-*s %8Zu, %8Zu\n", indent+3, "", MAX(0,fwidth-9), temp_str, freelist->offset, freelist->size); | ^~~~~~~~~ CC H5HLint.lo CC H5HLprfx.lo CC H5HLdblk.lo CC H5HP.lo CC H5I.lo H5I.c: In function 'H5I__clear_type_cb': H5I.c:548:81: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 548 | if(udata->type_ptr->cls->free_func && (udata->type_ptr->cls->free_func)((void *)id->obj_ptr) < 0) { /* (Casting away const OK -QAK) */ | ^ In file included from H5I.c:37: H5I.c: In function 'H5I__destroy_type': H5I.c:654:48: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 654 | type_ptr->cls = H5FL_FREE(H5I_class_t, (void *)type_ptr->cls); | ^ H5FLprivate.h:128:65: note: in definition of macro 'H5FL_FREE' 128 | #define H5FL_FREE(t,obj) (t *)H5FL_reg_free(&(H5FL_REG_NAME(t)),obj) | ^~~ H5I.c: In function 'H5I_subst': H5I.c:850:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 850 | ret_value = (void *)id_ptr->obj_ptr; /* (Casting away const OK -QAK) */ | ^ H5I.c: In function 'H5I_object': H5I.c:883:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 883 | ret_value = (void *)id_ptr->obj_ptr; /* (Casting away const OK -QAK) */ | ^ H5I.c: In function 'H5I_object_verify': H5I.c:952:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 952 | ret_value = (void *)id_ptr->obj_ptr; /* (Casting away const OK -QAK) */ | ^ H5I.c: In function 'H5I__remove_common': H5I.c:1125:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1125 | ret_value = (void *)curr_id->obj_ptr; /* (Casting away const OK -QAK) */ | ^ H5I.c: In function 'H5I_dec_ref': H5I.c:1261:68: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1261 | if(!type_ptr->cls->free_func || (type_ptr->cls->free_func)((void *)id_ptr->obj_ptr) >= 0) { | ^ H5I.c: In function 'H5I__iterate_cb': H5I.c:1877:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1877 | cb_ret_val = (*udata->user_func)((void *)item->obj_ptr, item->id, udata->user_udata); /* (Casting away const OK) */ | ^ H5I.c: In function 'H5I__id_dump_cb': H5I.c:2135:31: warning: passing argument 1 of 'H5G_nameof' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2135 | path = H5G_nameof((const H5G_t *)item->obj_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from H5Tprivate.h:31, from H5Zprivate.h:28, from H5CXprivate.h:30, from H5I.c:34: H5Gprivate.h:190:39: note: expected 'H5G_t *' but argument is of type 'const H5G_t *' 190 | H5_DLL H5G_name_t * H5G_nameof(H5G_t *grp); | ~~~~~~~^~~ H5I.c: At top level: H5I.c:125:12: warning: 'H5I__debug_cb' declared 'static' but never defined [-Wunused-function] 125 | static int H5I__debug_cb(void *_item, void *_key, void *_udata); | ^~~~~~~~~~~~~ CC H5Itest.lo CC H5L.lo H5L.c: In function 'H5L__link_cb': H5L.c:1685:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1685 | udata->lnk->name = (char *)name; | ^ H5L.c: In function 'H5L__move_dest_cb': H5L.c:2477:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 2477 | udata->lnk->name = (char *)name; | ^ H5L.c: In function 'H5L__link_copy_file': H5L.c:3231:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3231 | lnk_grp_loc.oloc = (H5O_loc_t *)src_oloc; /* Casting away const OK -QAK */ | ^ CC H5Lexternal.lo CC H5MF.lo CC H5MFaggr.lo CC H5MFdbg.lo H5MFdbg.c: In function 'H5MF__sects_debug_cb': H5MFdbg.c:134:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 134 | if(H5FS_sect_debug(udata->fspace, _sect, udata->stream, udata->indent + 3, MAX(0, udata->fwidth - 3)) < 0) | ^~ CC H5MFsection.lo CC H5MM.lo CC H5MP.lo CC H5MPtest.lo CC H5O.lo H5O.c: In function 'H5Oget_info_by_idx': H5O.c:1169:17: warning: unused variable 'obj_oloc' [-Wunused-variable] 1169 | H5O_loc_t obj_oloc; /* Opened object object location */ | ^~~~~~~~ H5O.c:1168:17: warning: unused variable 'obj_path' [-Wunused-variable] 1168 | H5G_name_t obj_path; /* Opened object group hier. path */ | ^~~~~~~~ CC H5Odeprec.lo H5Odeprec.c: In function 'H5Oget_info_by_idx1': H5Odeprec.c:175:17: warning: unused variable 'obj_oloc' [-Wunused-variable] 175 | H5O_loc_t obj_oloc; /* Opened object object location */ | ^~~~~~~~ H5Odeprec.c:174:17: warning: unused variable 'obj_path' [-Wunused-variable] 174 | H5G_name_t obj_path; /* Opened object group hier. path */ | ^~~~~~~~ CC H5Oainfo.lo H5Oainfo.c: In function 'H5O__ainfo_delete': H5Oainfo.c:333:36: warning: unused parameter 'open_oh' [-Wunused-parameter] 333 | H5O__ainfo_delete(H5F_t *f, H5O_t *open_oh, void *_mesg) | ~~~~~~~^~~~~~~ H5Oainfo.c: In function 'H5O__ainfo_copy_file': H5Oainfo.c:404:29: warning: unused parameter 'file_src' [-Wunused-parameter] 404 | H5O__ainfo_copy_file(H5F_t *file_src, void *mesg_src, H5F_t *file_dst, | ~~~~~~~^~~~~~~~ H5Oainfo.c:406:17: warning: unused parameter 'cpy_info' [-Wunused-parameter] 406 | H5O_copy_t *cpy_info, void H5_ATTR_UNUSED *udata) | ~~~~~~~~~~~~^~~~~~~~ CC H5Oalloc.lo H5Oalloc.c: In function 'H5O_add_gap': H5Oalloc.c:113:20: warning: unused parameter 'f' [-Wunused-parameter] 113 | H5O_add_gap(H5F_t *f, H5O_t *oh, unsigned chunkno, hbool_t *chk_dirtied, | ~~~~~~~^ CC H5Oattr.lo H5Oattr.c: In function 'H5O__attr_debug': H5Oattr.c:882:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 882 | (unsigned long)(mesg->shared->dt_size)); | ^ H5Oattr.c:883:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 883 | if((H5O_MSG_DTYPE->debug)(f, mesg->shared->dt, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5Oattr.c:889:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 889 | (unsigned long)(mesg->shared->ds_size)); | ^ H5Oattr.c:890:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 890 | if(H5S_debug(f, mesg->shared->ds, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ CC H5Oattribute.lo CC H5Obogus.lo CC H5Obtreek.lo CC H5Ocache.lo H5Ocache.c: In function 'H5O__chunk_deserialize': H5Ocache.c:1464:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1464 | mesg->raw = (uint8_t *)chunk_image; /* Casting away const OK - QAK */ | ^ H5Ocache.c: In function 'H5O__chunk_serialize': H5Ocache.c:1666:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1666 | if(H5O_msg_flush((H5F_t *)f, oh, curr_msg) < 0) | ^ CC H5Ocache_image.lo H5Ocache_image.c: In function 'H5O__mdci_delete': H5Ocache_image.c:278:35: warning: unused parameter 'open_oh' [-Wunused-parameter] 278 | H5O__mdci_delete(H5F_t *f, H5O_t *open_oh, void *_mesg) | ~~~~~~~^~~~~~~ CC H5Ochunk.lo CC H5Ocont.lo CC H5Ocopy.lo CC H5Odbg.lo H5Odbg.c: In function 'H5O_debug_real': H5Odbg.c:385:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 385 | oh->chunk[i].addr); | ^~ H5Odbg.c:402:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 402 | chunk_size); | ^~~~~~~~~~ H5Odbg.c:406:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 406 | oh->chunk[i].gap); | ^~ H5Odbg.c:437:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 437 | sequence[oh->mesg[i].type->id]++); | ^~~~~~~~ H5Odbg.c:440:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 440 | oh->mesg[i].dirty); | ^~ H5Odbg.c:442:20: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 442 | "Message flags:"); | ^~~~~~~~~~~~~~~~ H5Odbg.c:488:28: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 488 | oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS); | ^~ H5Odbg.c:495:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 495 | oh->mesg[i].chunkno); | ^~ H5Odbg.c:502:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 502 | oh->mesg[i].raw_size); | ^~ H5Odbg.c:517:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 517 | "Message Information:"); | ^~~~~~~~~~~~~~~~~~~~~~ H5Odbg.c:519:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 519 | (debug_type->debug)(f, oh->mesg[i].native, stream, indent + 6, MAX(0, fwidth - 6)); | ^ CC H5Odrvinfo.lo CC H5Odtype.lo H5Odtype.c: In function 'H5O__dtype_debug': H5Odtype.c:1748:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1748 | (unsigned long)(dt->shared->u.compnd.memb[i].offset)); | ^ H5Odtype.c:1750:21: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1750 | indent + 3, MAX(0, fwidth - 3)); | ^~~~~~ H5Odtype.c:1755:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1755 | H5O__dtype_debug(f, dt->shared->parent, stream, indent+3, MAX(0, fwidth-3)); | ^~~~~~~~~~~~~~~~ H5Odtype.c:1985:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1985 | H5O__dtype_debug(f, dt->shared->parent, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ CC H5Oefl.lo H5Oefl.c: In function 'H5O__efl_debug': H5Oefl.c:560:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 560 | mesg->slot[u].name); | ^~~~ H5Oefl.c:564:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 564 | (unsigned long)(mesg->slot[u].name_offset)); | ^ H5Oefl.c:568:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 568 | (unsigned long)(mesg->slot[u].offset)); | ^ H5Oefl.c:572:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 572 | (unsigned long)(mesg->slot[u].size)); | ^ CC H5Ofill.lo In file included from H5Cprivate.h:35, from H5ACprivate.h:33, from H5Oprivate.h:41, from H5Dprivate.h:25, from H5Ofill.c:25: H5Ofill.c: In function 'H5O_fill_new_decode': H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Ofill.c:228:13: note: in expansion of macro 'INT32DECODE' 228 | INT32DECODE(p, fill->size); | ^~~~~~~~~~~ H5Ofill.c: In function 'H5O_fill_old_decode': H5Ofill.c:347:71: warning: ordered comparison of pointer with integer zero [-Wpedantic] 347 | if((dt = H5O_msg_read_oh(f, open_oh, H5O_DTYPE_ID, NULL)) < 0) | ^ H5Ofill.c:350:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 350 | if(fill->size != H5T_GET_SIZE(dt)) | ^~ CC H5Oflush.lo CC H5Ofsinfo.lo H5Ofsinfo.c: In function 'H5O_fsinfo_decode': H5Ofsinfo.c:130:35: warning: 'threshold' may be used uninitialized in this function [-Wmaybe-uninitialized] 130 | fsinfo->threshold = threshold; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC H5Oginfo.lo CC H5Oint.lo H5Oint.c: In function 'H5O_create': H5Oint.c:285:17: warning: unused variable 'store_msg_crt_idx' [-Wunused-variable] 285 | hbool_t store_msg_crt_idx; /* Whether to always store message crea tion indices for this file */ | ^~~~~~~~~~~~~~~~~ H5Oint.c:284:17: warning: unused variable 'insert_flags' [-Wunused-variable] 284 | unsigned insert_flags = H5AC__NO_FLAGS_SET; /* Flags for inserting objec t header into cache */ | ^~~~~~~~~~~~ H5Oint.c:283:16: warning: unused variable 'oh_flags' [-Wunused-variable] 283 | uint8_t oh_flags; /* Object header's initial status flags */ | ^~~~~~~~ H5Oint.c:282:17: warning: unused variable 'oh_size' [-Wunused-variable] 282 | size_t oh_size; /* Size of initial object header */ | ^~~~~~~ H5Oint.c:281:17: warning: unused variable 'oh_addr' [-Wunused-variable] 281 | haddr_t oh_addr; /* Address of initial object header */ | ^~~~~~~ H5Oint.c:278:22: warning: unused variable 'oc_plist' [-Wunused-variable] 278 | H5P_genplist_t *oc_plist; /* Object creation property list */ | ^~~~~~~~ CC H5Olayout.lo H5Olayout.c: In function 'H5O__layout_decode': H5Olayout.c:417:90: warning: 'tmp_hsize' may be used uninitialized in this function [-Wmaybe-uninitialized] 417 | if(NULL == (mesg->storage.u.virt.list = (H5O_storage_virtual_ent_t *)H5MM_calloc((size_t)tmp_hsize * sizeof(H5O_storage_virtual_ent_t)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5Olinfo.lo CC H5Olink.lo CC H5Omessage.lo H5Omessage.c: In function 'H5O_msg_reset_share': H5Omessage.c:1669:28: warning: variable 'type' set but not used [-Wunused-but-set-variable] 1669 | const H5O_msg_class_t *type; /* Actual H5O class type for the ID */ | ^~~~ CC H5Omtime.lo CC H5Oname.lo CC H5Onull.lo CC H5Opline.lo H5Opline.c: In function 'H5O__pline_debug': H5Opline.c:669:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 669 | (unsigned)(pline->filter[i].id)); | ^ H5Opline.c:673:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 673 | pline->filter[i].name); | ^~~~~ H5Opline.c:676:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 676 | "Filter name:"); | ^~~~~~~~~~~~~~ H5Opline.c:679:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 679 | pline->filter[i].flags); | ^~~~~ H5Opline.c:682:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 682 | pline->filter[i].cd_nelmts); | ^~~~~ H5Opline.c:691:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 691 | pline->filter[i].cd_values[j]); | ^~~~~ CC H5Orefcount.lo CC H5Osdspace.lo CC H5Oshared.lo H5Oshared.c: In function 'H5O__shared_copy_file': H5Oshared.c:585:30: warning: unused parameter 'file_src' [-Wunused-parameter] 585 | H5O__shared_copy_file(H5F_t *file_src, H5F_t *file_dst, | ~~~~~~~^~~~~~~~ H5Oshared.c:587:79: warning: unused parameter 'cpy_info' [-Wunused-parameter] 587 | hbool_t H5_ATTR_UNUSED *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info, | ~~~~~~~~~~~~^~~~~~~~ CC H5Oshmesg.lo CC H5Ostab.lo CC H5Otest.lo CC H5Ounknown.lo CC H5P.lo CC H5Pacpl.lo CC H5Pdapl.lo In file included from H5Pdapl.c:35: H5Pdapl.c: In function 'H5Pget_efile_prefix': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Pdapl.c:1482:13: note: in expansion of macro 'HDstrncpy' 1482 | HDstrncpy(prefix, my_prefix, MIN(len + 1, size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pdapl.c:1480:15: note: in expansion of macro 'HDstrlen' 1480 | len = HDstrlen(my_prefix); | ^~~~~~~~ H5Pdapl.c: In function 'H5Pget_virtual_prefix': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Pdapl.c:1574:13: note: in expansion of macro 'HDstrncpy' 1574 | HDstrncpy(prefix, my_prefix, MIN(len + 1, size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pdapl.c:1572:15: note: in expansion of macro 'HDstrlen' 1572 | len = HDstrlen(my_prefix); | ^~~~~~~~ CC H5Pdcpl.lo CC H5Pdeprec.lo CC H5Pdxpl.lo In file included from H5Pdxpl.c:35: H5Pdxpl.c: In function 'H5Pget_data_transform': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Pdxpl.c:1019:2: note: in expansion of macro 'HDstrncpy' 1019 | HDstrncpy(expression, pexp, MIN(len + 1, size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pdxpl.c:1017:11: note: in expansion of macro 'HDstrlen' 1017 | len = HDstrlen(pexp); | ^~~~~~~~ CC H5Pencdec.lo In file included from H5Pencdec.c:29: In function 'H5P__encode_cb', inlined from 'H5P__encode_cb' at H5Pencdec.c:332:1: H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Pencdec.c:351:13: note: in expansion of macro 'HDstrncpy' 351 | HDstrncpy((char *)*(udata->pp), prop->name, prop_name_len); | ^~~~~~~~~ H5Pencdec.c: In function 'H5P__encode_cb': H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pencdec.c:349:25: note: in expansion of macro 'HDstrlen' 349 | prop_name_len = HDstrlen(prop->name) + 1; | ^~~~~~~~ CC H5Pfapl.lo H5Pfapl.c: In function 'H5P__file_driver_free': H5Pfapl.c:1141:44: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1141 | if((driver->fapl_free)((void *)info->driver_info) < 0) /* Casting away const OK -QAK */ | ^ H5Pfapl.c:1145:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1145 | H5MM_xfree((void *)info->driver_info); /* Casting away const OK -QAK */ | ^ In file included from H5Cprivate.h:35, from H5ACprivate.h:33, from H5Pfapl.c:34: H5Pfapl.c: In function 'H5P__facc_cache_image_config_dec': H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Pfapl.c:3073:5: note: in expansion of macro 'INT32DECODE' 3073 | INT32DECODE(*pp, config->version); | ^~~~~~~~~~~ H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Pfapl.c:3079:5: note: in expansion of macro 'INT32DECODE' 3079 | INT32DECODE(*pp, config->entry_ageout); | ^~~~~~~~~~~ H5Pfapl.c: In function 'H5P__facc_cache_config_dec': H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Pfapl.c:3603:5: note: in expansion of macro 'INT32DECODE' 3603 | INT32DECODE(*pp, config->version); | ^~~~~~~~~~~ H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Pfapl.c:3677:5: note: in expansion of macro 'INT32DECODE' 3677 | INT32DECODE(*pp, config->epochs_before_eviction); | ^~~~~~~~~~~ H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Pfapl.c:3687:5: note: in expansion of macro 'INT32DECODE' 3687 | INT32DECODE(*pp, config->metadata_write_strategy); | ^~~~~~~~~~~ CC H5Pfcpl.lo CC H5Pfmpl.lo CC H5Pgcpl.lo CC H5Pint.lo CC H5Plapl.lo In file included from H5Plapl.c:35: H5Plapl.c: In function 'H5Pget_elink_prefix': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5Plapl.c:1062:13: note: in expansion of macro 'HDstrncpy' 1062 | HDstrncpy(prefix, my_prefix, MIN(len + 1, size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Plapl.c:1060:15: note: in expansion of macro 'HDstrlen' 1060 | len = HDstrlen(my_prefix); | ^~~~~~~~ CC H5Plcpl.lo CC H5Pocpl.lo In file included from H5Cprivate.h:35, from H5ACprivate.h:33, from H5Oprivate.h:41, from H5Opkg.h:22, from H5Pocpl.c:40: H5Pocpl.c: In function 'H5P__ocrt_pipeline_dec': H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ H5Pocpl.c:1517:9: note: in expansion of macro 'INT32DECODE' 1517 | INT32DECODE(*pp, filter.id) | ^~~~~~~~~~~ CC H5Pocpypl.lo CC H5Pstrcpl.lo CC H5Ptest.lo CC H5PB.lo CC H5PL.lo In file included from H5PL.c:23: H5PL.c: In function 'H5PLget': H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ H5PL.c:373:9: note: in expansion of macro 'HDstrncpy' 373 | HDstrncpy(path_buf, path, MIN((size_t)(path_len + 1), buf_size)); | ^~~~~~~~~ H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5PL.c:369:16: note: in expansion of macro 'HDstrlen' 369 | path_len = HDstrlen(path); | ^~~~~~~~ CC H5PLint.lo CC H5PLpath.lo CC H5PLplugin_cache.lo CC H5R.lo CC H5Rint.lo H5Rint.c: In function 'H5R__get_name': H5Rint.c:709:31: warning: unused parameter 'id' [-Wunused-parameter] 709 | H5R__get_name(H5F_t *f, hid_t id, H5R_type_t ref_type, const void *_ref, | ~~~~~~^~ CC H5Rdeprec.lo CC H5UC.lo CC H5RS.lo H5RS.c: In function 'H5RS_wrap': H5RS.c:151:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 151 | ret_value->s = (char *)s; | ^ CC H5S.lo CC H5Sall.lo H5Sall.c: In function 'H5S__all_shape_same': H5Sall.c:1226:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1226 | } /* end H5Sselect_all() */ | ^ H5Sall.c:941:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 941 | H5S__all_shape_same(const H5S_t *space1, const H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~ H5Sall.c:941:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sall.c:941:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Sdbg.lo H5Sdbg.c: In function 'H5S_debug': H5Sdbg.c:110:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 110 | H5O_debug_id(H5O_SDSPACE_ID, f, &(mesg->extent), stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~ CC H5Shyper.lo H5Shyper.c: In function 'H5S__hyper_iter_init': H5Shyper.c:602:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 602 | H5S__hyper_rebuild((H5S_t *)space); /* Casting away const OK -NAF */ | ^ H5Shyper.c: In function 'H5S__hyper_is_regular': H5Shyper.c:5181:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5181 | H5S__hyper_rebuild((H5S_t *)space); /* Casting away const OK -NAF */ | ^ H5Shyper.c: In function 'H5S__hyper_shape_same': H5Shyper.c:5447:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5447 | H5S__hyper_rebuild((H5S_t *)space1); /* Casting away const OK -QAK */ | ^ H5Shyper.c:5449:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5449 | H5S__hyper_rebuild((H5S_t *)space2); /* Casting away const OK -QAK */ | ^ H5Shyper.c:5494:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5494 | if(H5S__hyper_generate_spans((H5S_t *)space1) < 0) /* Casting away const OK -QAK */ | ^ H5Shyper.c:5497:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5497 | if(H5S__hyper_generate_spans((H5S_t *)space2) < 0) /* Casting away const OK -QAK */ | ^ H5Shyper.c: In function 'H5S__hyper_intersect_block': H5Shyper.c:6118:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6118 | H5S__hyper_rebuild((H5S_t *)space); /* Casting away const OK -QAK */ | ^ H5Shyper.c: In function 'H5S__hyper_proj_int_iterate': H5Shyper.c:11249:74: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 11249 | H5S_HYPER_PROJ_INT_ADD_SKIP(udata, H5S__hyper_spans_nelem_helper((H5S_hyper_span_info_t *)ss_span_info, 0, udata->op_gen) * count, FAIL); /* Casting away const OK -NAF */ | ^ H5Shyper.c:74:27: note: in definition of macro 'H5S_HYPER_PROJ_INT_ADD_SKIP' 74 | (UDATA)->skip += (ADD); \ | ^~~ H5Shyper.c: In function 'H5S__hyper_project_intersection': H5Shyper.c:11338:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 11338 | if(H5S__hyper_generate_spans((H5S_t *)src_space) < 0) /* Casting away const OK -NAF */ | ^ H5Shyper.c:11358:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 11358 | if(H5S__hyper_generate_spans((H5S_t *)dst_space) < 0) /* Casting away const OK -NAF */ | ^ H5Shyper.c:11376:38: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 11376 | if(H5S__hyper_generate_spans((H5S_t *)src_intersect_space) < 0) /* Casting away const OK -NAF */ | ^ At top level: H5Shyper.c:3531:1: warning: 'H5S__hyper_get_enc_size_real' defined but not used [-Wunused-function] 3531 | H5S__hyper_get_enc_size_real(hsize_t max_size) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Shyper.c: In function 'H5S__hyper_iter_coords': H5Shyper.c:12136:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 12136 | } /* end H5Sget_regular_hyperslab() */ | ^ H5Shyper.c:12136:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_iter_init': H5Shyper.c:12136:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:12136:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_shape_same': H5Shyper.c:12136:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_iter_get_seq_list': H5Shyper.c:1720:42: warning: potential null pointer dereference [-Wnull-dereference] 1720 | abs_arr[fast_dim] = curr_span->low + span_elmts; | ~~~~~~~~~^~~~~ H5Shyper.c:1723:46: warning: potential null pointer dereference [-Wnull-dereference] 1723 | if(abs_arr[fast_dim] <= curr_span->high) { | ~~~~~~~~~^~~~~~ H5Shyper.c: In function 'H5S__hyper_iter_coords': H5Shyper.c:810:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 810 | H5S__hyper_iter_coords(const H5S_sel_iter_t *iter, hsize_t *coords) | ^~~~~~~~~~~~~~~~~~~~~~ H5Shyper.c:810:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:810:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_project_simple.part.0': H5Shyper.c:6467:47: warning: potential null pointer dereference [-Wnull-dereference] 6467 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ H5Shyper.c:6467:54: warning: potential null pointer dereference [-Wnull-dereference] 6467 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ H5Shyper.c:6467:47: warning: potential null pointer dereference [-Wnull-dereference] 6467 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ H5Shyper.c:6467:54: warning: potential null pointer dereference [-Wnull-dereference] 6467 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ H5Shyper.c:6558:21: warning: potential null pointer dereference [-Wnull-dereference] 6558 | prev_span->down = base_space->select.sel_info.hslab->span_lst; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Shyper.c: In function 'H5S__hyper_iter_init': H5Shyper.c:575:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 575 | H5S__hyper_iter_init(const H5S_t *space, H5S_sel_iter_t *iter) | ^~~~~~~~~~~~~~~~~~~~ H5Shyper.c:575:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_shape_same': H5Shyper.c:5424:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5424 | H5S__hyper_shape_same(const H5S_t *space1, const H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~~~ H5Shyper.c:5424:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:5424:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__get_select_hyper_blocklist': H5Shyper.c:4530:40: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4530 | while(temp_dim >= 0 && !done) { | ^~~~~ H5Shyper.c: In function 'H5S__hyper_serialize': H5Shyper.c:3992:53: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 3992 | while(temp_dim >= 0 && complete == FALSE) { CC H5Snone.lo CC H5Spoint.lo H5Spoint.c: In function 'H5S__point_shape_same': H5Spoint.c:2277:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2277 | } /* end H5Sselect_elements() */ | ^ H5Spoint.c:2277:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c: In function 'H5S__point_offset': H5Spoint.c:2277:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c:1550:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1550 | H5S__point_offset(const H5S_t *space, hsize_t *offset) | ^~~~~~~~~~~~~~~~~ H5Spoint.c:1550:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c:1550:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Sselect.lo H5Sselect.c: In function 'H5S_select_shape_same': H5Sselect.c:3010:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3010 | } /* end H5S_sel_iter_close() */ | ^ H5Sselect.c:1786:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1786 | H5S_select_shape_same(const H5S_t *space1, const H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~~~ H5Sselect.c:1786:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sselect.c:1786:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Stest.lo CC H5SL.lo H5SL.c: In function 'H5SL_release_common': H5SL.c:896:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 896 | (void)(op)(node->item, (void *)node->key, op_data); | ^ H5SL.c: In function 'H5SL_iterate': H5SL.c:2210:46: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 2210 | if((ret_value = (op)(node->item, (void *)node->key, op_data)) != 0) | ^ H5SL.c: In function 'H5SL_try_free_safe': H5SL.c:2369:44: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 2369 | if((op_ret = (op)(node->item , (void *)node->key, op_data)) < 0) | ^ H5SL.c: In function 'H5SL_remove': H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2570 | } /* end H5SL_close() */ | ^ H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2570:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1199 | H5SL_remove(H5SL_t *slist, const void *key) | ^~~~~~~~~~~ H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:1199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from H5SL.c:64: H5SL.c: In function 'H5SL_search': H5private.h:2437:11: warning: 'ret_value' may be used uninitialized in this function [-Wmaybe-uninitialized] 2437 | return(ret_value); \ | ^ H5SL.c:1397:11: note: 'ret_value' was declared here 1397 | void *ret_value; /* Return value */ | ^~~~~~~~~ In file included from H5SL.c:64: H5SL.c: In function 'H5SL_find': H5private.h:2437:11: warning: 'ret_value' may be used uninitialized in this function [-Wmaybe-uninitialized] 2437 | return(ret_value); \ | ^ H5SL.c:1698:18: note: 'ret_value' was declared here 1698 | H5SL_node_t *ret_value; /* Return value */ | ^~~~~~~~~ CC H5SM.lo CC H5SMbtree2.lo CC H5SMcache.lo CC H5SMmessage.lo CC H5SMtest.lo CC H5ST.lo CC H5T.lo H5T.c: In function 'H5T_nameof': H5T.c:5246:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5246 | ret_value = &(dt->path); | ^ H5T.c: In function 'H5T_cmp': H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5950 | } /* end H5T_patch_vlen_file() */ | ^ H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T__path_find_real': H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T__unregister': H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5950:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T_cmp': H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4195 | H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset) | ^~~~~~~ H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4356:15: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4356 | if(dt2->shared->u.enumer.nmembs > 1) { | ^ H5T.c:4339:15: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4339 | if(dt1->shared->u.enumer.nmembs > 1) { | ^ H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4195 | H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset) | ^~~~~~~ H5T.c:4195:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4256:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4256 | for(i = (int) dt1->shared->u.compnd.nmembs - 1, swapped = TRUE; swapped && i >= 0; --i) { | ^~~ H5T.c:4268:17: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4268 | for(i = (int) dt2->shared->u.compnd.nmembs - 1, swapped = TRUE; swapped && i >= 0; --i) { | ^~~ H5T.c: In function 'H5T__path_find_real': H5T.c:4714:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4714 | H5T__path_find_real(const H5T_t *src, const H5T_t *dst, const char *name, | ^~~~~~~~~~~~~~~~~~~ H5T.c:4714:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4714:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5Tunregister': H5T.c:2651:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2651 | H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, | ^~~~~~~~~~~~~ H5T.c:2651:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2651:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2651:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2651:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2651:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Tarray.lo CC H5Tbit.lo CC H5Tcommit.lo CC H5Tcompound.lo CC H5Tconv.lo H5Tconv.c: In function 'H5T_conv_struct_free': H5Tconv.c:1849:17: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1849 | int status; | ^~~~~~ H5Tconv.c: In function 'H5T__conv_struct': H5Tconv.c:9317:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 9317 | } | ^ H5Tconv.c: In function 'H5T__conv_struct_opt': H5Tconv.c:9317:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:9317:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c: In function 'H5T__conv_struct': H5Tconv.c:2124:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2124 | H5T__conv_struct(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, | ^~~~~~~~~~~~~~~~ H5Tconv.c:2124:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2124:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c: In function 'H5T__conv_struct_opt': H5Tconv.c:2351:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2351 | H5T__conv_struct_opt(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, | ^~~~~~~~~~~~~~~~~~~~ H5Tconv.c:2351:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2351:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2351:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2351:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2351:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Tcset.lo CC H5Tdbg.lo CC H5Tdeprec.lo CC H5Tenum.lo CC H5Tfields.lo CC H5Tfixed.lo CC H5Tfloat.lo CC H5Tnative.lo CC H5Toffset.lo CC H5Toh.lo CC H5Topaque.lo CC H5Torder.lo CC H5Tpad.lo CC H5Tprecis.lo CC H5Tstrpad.lo CC H5Tvisit.lo CC H5Tvlen.lo H5Tvlen.c: In function 'H5T_vlen_disk_isnull': H5Tvlen.c:852:24: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] 852 | H5F_addr_decode(f, (const uint8_t **)&vl, &addr); | ^ H5Tvlen.c: In function 'H5T_vlen_disk_read': H5Tvlen.c:888:24: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] 888 | H5F_addr_decode(f, (const uint8_t **)&vl, &(hobjid.addr)); | ^ H5Tvlen.c: In function 'H5T_vlen_disk_write': H5Tvlen.c:939:28: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] 939 | H5F_addr_decode(f, (const uint8_t **)&bg, &(bg_hobjid.addr)); | ^ H5Tvlen.c: In function 'H5T_vlen_disk_setnull': H5Tvlen.c:1000:28: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] 1000 | H5F_addr_decode(f, (const uint8_t **)&bg, &(bg_hobjid.addr)); | ^ CC H5TS.lo CC H5VM.lo CC H5WB.lo CC H5Z.lo In file included from /home/pbulk/build/devel/hdf5-c++/work/.buildlink/include/szlib.h:41, from H5Z.c:31: /home/pbulk/build/devel/hdf5-c++/work/.buildlink/include/libaec.h:47:5: warning: "BUILDING_LIBAEC" is not defined, evaluates to 0 [-Wundef] 47 | #if BUILDING_LIBAEC && HAVE_VISIBILITY | ^~~~~~~~~~~~~~~ H5Z.c: In function 'H5Z__init_package': H5Z.c:108:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | H5Z_SZIP->encoder_present = SZ_encoder_enabled(); | ^~~~~~~~~~~~~~~~~~ CC H5Zdeflate.lo CC H5Zfletcher32.lo CC H5Znbit.lo CC H5Zshuffle.lo CC H5Zscaleoffset.lo CC H5Zszip.lo In file included from /home/pbulk/build/devel/hdf5-c++/work/.buildlink/include/szlib.h:41, from H5Zszip.c:31: /home/pbulk/build/devel/hdf5-c++/work/.buildlink/include/libaec.h:47:5: warning: "BUILDING_LIBAEC" is not defined, evaluates to 0 [-Wundef] 47 | #if BUILDING_LIBAEC && HAVE_VISIBILITY | ^~~~~~~~~~~~~~~ H5Zszip.c: In function 'H5Z__can_apply_szip': H5Zszip.c:90:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 90 | if((dtype_size = (8 * H5T_get_size(type))) == 0) | ^ H5Zszip.c: In function 'H5Z__set_local_szip': H5Zszip.c:165:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 165 | dtype_offset = H5T_get_offset(type); | ^~~~~~~~~~~~~~ H5Zszip.c:177:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 177 | cd_values[H5Z_SZIP_PARM_BPP] = dtype_precision; | ^~~~~~~~~~~~~~~ In file included from H5Zszip.c:17: H5private.h:408:21: warning: conversion to 'hsize_t' {aka 'long long unsigned int'} from 'hssize_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 408 | #define MIN(a,b) (((a)<(b)) ? (a) : (b)) | ^ H5Zszip.c:206:20: note: in expansion of macro 'MIN' 206 | scanline = MIN((cd_values[H5Z_SZIP_PARM_PPB] * SZ_MAX_BLOCKS_PER_SCANLINE), npoints); | ^~~ H5Zszip.c:224:35: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-25' to '4294967271' [-Wsign-conversion] 224 | cd_values[H5Z_SZIP_PARM_MASK] &= ~(SZ_LSB_OPTION_MASK|SZ_MSB_OPTION_MASK); | ^~ CC H5Ztrans.lo CC H5detect.o CC H5make_libsettings.o CCLD H5detect CCLD H5make_libsettings LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo -L/opt/pkg/lib -Wl,-R/opt/pkg/lib | sed -e 's/-L/:/g' -e 's/ //g'`" ./H5detect > H5Tinit.c || (test $HDF5_Make_Ignore && echo "*** Error ignored") || (rm -f H5Tinit.c ; exit 1) LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo -L/opt/pkg/lib -Wl,-R/opt/pkg/lib | sed -e 's/-L/:/g' -e 's/ //g'`" ./H5make_libsettings > H5lib_settings.c || (test $HDF5_Make_Ignore && echo "*** Error ignored") || (rm -f H5lib_settings.c ; exit 1) CC H5Tinit.lo CC H5lib_settings.lo H5lib_settings.c:31:6: warning: size of 'H5libhdf5_settings' 4874 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | char H5libhdf5_settings[]= | ^~~~~~~~~~~~~~~~~~ CCLD libhdf5.la Making all in test CC h5test.lo h5test.c: In function 'h5_fixname_real': h5test.c:593:19: warning: this condition has identical branches [-Wduplicated-branches] 593 | if(env && !HDstrcmp(env, "split")) { | ^ h5test.c: In function 'h5_get_vfd_fapl': h5test.c:956:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 956 | memb_addr[mt] = (haddr_t)MAX(mt - 1, 0) * (HADDR_MAX / 10); | ^~~~~~~~~ CC testframe.lo CC cache_common.lo cache_common.c: In function 'get_initial_load_size': cache_common.c:556:66: warning: unused parameter 'entry_type' [-Wunused-parameter] 556 | get_initial_load_size(void *udata, size_t *image_length, int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'get_final_load_size': cache_common.c:666:46: warning: unused parameter 'entry_type' [-Wunused-parameter] 666 | void *udata, size_t *actual_len, int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'verify_chksum': cache_common.c:726:97: warning: unused parameter 'entry_type' [-Wunused-parameter] 726 | verify_chksum(const void H5_ATTR_UNUSED *image, size_t H5_ATTR_UNUSED len, void *udata, int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'deserialize': cache_common.c:779:39: warning: unused parameter 'len' [-Wunused-parameter] 779 | deserialize(const void *image, size_t len, void *udata, hbool_t *dirty, | ~~~~~~~^~~ cache_common.c:780:13: warning: unused parameter 'entry_type' [-Wunused-parameter] 780 | int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'image_len': cache_common.c:941:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 941 | int32_t idx; | ^~~ cache_common.c:939:19: warning: variable 'base_addr' set but not used [-Wunused-but-set-variable] 939 | test_entry_t *base_addr; | ^~~~~~~~~ cache_common.c:936:60: warning: unused parameter 'entry_type' [-Wunused-parameter] 936 | image_len(const void *thing, size_t *image_length, int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'pre_serialize': cache_common.c:1069:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 1069 | int32_t idx; | ^~~ cache_common.c:1067:19: warning: variable 'base_addr' set but not used [-Wunused-but-set-variable] 1067 | test_entry_t *base_addr; | ^~~~~~~~~ cache_common.c:1058:22: warning: unused parameter 'f' [-Wunused-parameter] 1058 | pre_serialize(H5F_t *f, | ~~~~~~~^ cache_common.c:1060:23: warning: unused parameter 'addr' [-Wunused-parameter] 1060 | haddr_t addr, | ~~~~~~~~^~~~ cache_common.c:1061:22: warning: unused parameter 'len' [-Wunused-parameter] 1061 | size_t len, | ~~~~~~~^~~ cache_common.c: In function 'serialize': cache_common.c:1312:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 1312 | int32_t idx; | ^~~ cache_common.c:1310:19: warning: variable 'base_addr' set but not used [-Wunused-but-set-variable] 1310 | test_entry_t *base_addr; | ^~~~~~~~~ cache_common.c: In function 'notify': cache_common.c:1467:19: warning: variable 'base_addr' set but not used [-Wunused-but-set-variable] 1467 | test_entry_t *base_addr; | ^~~~~~~~~ cache_common.c:1464:57: warning: unused parameter 'entry_type' [-Wunused-parameter] 1464 | notify(H5C_notify_action_t action, void *thing, int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'free_icr': cache_common.c:1545:19: warning: variable 'base_addr' set but not used [-Wunused-but-set-variable] 1545 | test_entry_t *base_addr; | ^~~~~~~~~ cache_common.c:1543:39: warning: unused parameter 'entry_type' [-Wunused-parameter] 1543 | free_icr(test_entry_t *entry, int32_t entry_type) | ~~~~~~~~^~~~~~~~~~ cache_common.c: In function 'flush_cache': cache_common.c:3172:16: warning: unused variable 'result' [-Wunused-variable] 3172 | herr_t result = 0; | ^~~~~~ cache_common.c: In function 'free_icr': cache_common.c:6057:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6057 | } /* validate_mdc_config() */ | ^ cache_common.c:6057:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_forward': cache_common.c:4436:45: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4436 | if ( ( pass ) && ( do_inserts ) && ( (idx + lag) >= 0 ) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:6057:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6057 | } /* validate_mdc_config() */ | ^ cache_common.c:6057:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_backward': cache_common.c:4845:45: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4845 | if ( ( pass ) && ( do_inserts ) && ( (idx + lag) >= 0 ) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function 'row_major_scan_forward': cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4021 | row_major_scan_forward(H5F_t * file_ptr, | ^~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4021:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_forward': cache_common.c:4395:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4395 | hl_row_major_scan_forward(H5F_t * file_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4395:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'row_major_scan_backward': cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4500 | row_major_scan_backward(H5F_t * file_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4500:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_backward': cache_common.c:4804:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4804 | hl_row_major_scan_backward(H5F_t * file_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4804:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4804:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'col_major_scan_backward': cache_common.c:5170:26: warning: 'local_max_index[10]' may be used uninitialized in this function [-Wmaybe-uninitialized] 5170 | idx = local_max_index[NUMBER_OF_ENTRY_TYPES - 1] + lag; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function 'hl_col_major_scan_backward': cache_common.c:5254:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5254 | hl_col_major_scan_backward(H5F_t * file_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5254:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'check_and_validate_cache_hit_rate': cache_common.c:5686:24: warning: potential null pointer dereference [-Wnull-dereference] 5686 | cache_accesses = cache_ptr->cache_accesses; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5685:24: warning: potential null pointer dereference [-Wnull-dereference] 5685 | cache_hits = cache_ptr->cache_hits; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function 'check_and_validate_cache_size': cache_common.c:5825:34: warning: potential null pointer dereference [-Wnull-dereference] 5825 | expected_cur_num_entries = cache_ptr->index_len; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5824:34: warning: potential null pointer dereference [-Wnull-dereference] 5824 | expected_cur_size = cache_ptr->index_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5823:34: warning: potential null pointer dereference [-Wnull-dereference] 5823 | expected_min_clean_size = cache_ptr->min_clean_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5822:34: warning: potential null pointer dereference [-Wnull-dereference] 5822 | expected_max_size = cache_ptr->max_cache_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC swmr_common.lo CC external_common.lo CC filter_plugin1_dsets.lo CC filter_plugin2_dsets.lo CC filter_plugin3_dsets.lo CC filter_plugin4_groups.lo CC testhdf5.o CC tarray.o tarray.c: In function 'test_array_vlen_atomic': tarray.c:1125:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1125 | for(k=0; k<(i+j+1); k++) | ^~~ tarray.c: In function 'test_array_vlen_array': tarray.c:1341:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1341 | for(k=0; k<(i+j+1); k++) | ^~~ CC tattr.o CC tchecksum.o CC tconfig.o CC tfile.o tfile.c: In function 'set_multi_split': tfile.c:3902:55: warning: unused parameter 'multi' [-Wunused-parameter] 3902 | set_multi_split(hid_t fapl, hsize_t pagesize, hbool_t multi, hbool_t split) | ~~~~~~~~^~~~~ tfile.c: In function 'test_libver_macros': tfile.c:6939:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6939 | VERIFY(H5_VERSION_GE(major-1,minor,release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6940:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6940 | VERIFY(H5_VERSION_GE(major-1,minor+1,release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6940:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6941:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6941 | VERIFY(H5_VERSION_GE(major-1,minor,release+1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6941:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6942:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6942 | VERIFY(H5_VERSION_GE(major,minor-1,release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6943:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6943 | VERIFY(H5_VERSION_GE(major,minor-1,release+1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6943:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6945:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6945 | VERIFY(H5_VERSION_GE(major,minor,release-1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6948:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6948 | VERIFY(H5_VERSION_GE(major+1,minor-1,release), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6949:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6949 | VERIFY(H5_VERSION_GE(major+1,minor-1,release-1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6949:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6950:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6950 | VERIFY(H5_VERSION_GE(major,minor+1,release), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6951:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6951 | VERIFY(H5_VERSION_GE(major,minor+1,release-1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6951:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6952:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6952 | VERIFY(H5_VERSION_GE(major,minor,release+1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:6956:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6956 | VERIFY(H5_VERSION_LE(major+1,minor-1,release), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6957:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6957 | VERIFY(H5_VERSION_LE(major+1,minor-1,release-1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6957:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6958:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6958 | VERIFY(H5_VERSION_LE(major,minor+1,release), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6959:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6959 | VERIFY(H5_VERSION_LE(major,minor+1,release-1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6959:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6960:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6960 | VERIFY(H5_VERSION_LE(major,minor,release+1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6962:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6962 | VERIFY(H5_VERSION_LE(major-1,minor,release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6963:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6963 | VERIFY(H5_VERSION_LE(major-1,minor+1,release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6963:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6964:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6964 | VERIFY(H5_VERSION_LE(major-1,minor+1,release+1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6964:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6964:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6965:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6965 | VERIFY(H5_VERSION_LE(major,minor-1,release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6966:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6966 | VERIFY(H5_VERSION_LE(major,minor-1,release+1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:6966:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:6968:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6968 | VERIFY(H5_VERSION_LE(major,minor,release-1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c: In function 'test_sects_freespace': tfile.c:7615:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7615 | } | ^ CC tgenprop.o CC th5o.o CC th5s.o CC tcoords.o tcoords.c: In function 'test_multiple_ends': tcoords.c:410:9: warning: size of 'data_buf' 69120 bytes exceeds maximum object size 2560 [-Wlarger-than=] 410 | int data_buf[4][5][3][4][2][3][6][2]; | ^~~~~~~~ tcoords.c:446:9: warning: size of 'mem5_buffer' 7680 bytes exceeds maximum object size 2560 [-Wlarger-than=] 446 | int mem5_buffer[4][5][1][4][2][1][6][2]; | ^~~~~~~~~~~ tcoords.c:402:13: warning: stack usage might be 81936 bytes [-Wstack-usage=] 402 | static void test_multiple_ends(hid_t file, hbool_t is_chunked) | ^~~~~~~~~~~~~~~~~~ tcoords.c:661:1: warning: the frame size of 81840 bytes is larger than 16384 bytes [-Wframe-larger-than=] 661 | } | ^ CC theap.o CC tid.o tid.c: In function 'test_id_type_list': tid.c:771:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 771 | } | ^ tid.c: In function 'test_remove_clear_type': tid.c:771:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tid.c: In function 'test_rct_free': tid.c:771:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tid.c: In function 'test_ids': tid.c:759:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 759 | void test_ids(void) | ^~~~~~~~ CC titerate.o titerate.c: In function 'aiter_cb': titerate.c:1083:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1083 | } | ^ titerate.c:1083:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] titerate.c: In function 'liter_cb': titerate.c:1083:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] titerate.c:1083:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC tmeta.o In file included from tmeta.c:23: tmeta.c: In function 'test_metadata': ../src/H5Fprivate.h:168:71: warning: this condition has identical branches [-Wduplicated-branches] 168 | ((*(p) & (unsigned)0x80) ? (unsigned)(~0xffffffff) : (unsigned)0x0))); (p)++; \ | ^ tmeta.c:87:5: note: in expansion of macro 'INT32DECODE' 87 | INT32DECODE(p, di32); /* Decode the int32 value */ | ^~~~~~~~~~~ CC tmisc.o tmisc.c: In function 'test_misc22': tmisc.c:3814:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 3814 | correct = prec[j]; | ^~~~ tmisc.c:3816:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 3816 | correct = H5Tget_size(idts[i]) * 8; | ^~~~~~~~~~~ CC trefer.o CC trefstr.o CC tselect.o CC tskiplist.o CC tsohm.o CC ttime.o CC ttst.o ttst.c: In function 'test_tst_init': ttst.c:105:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 105 | tmp_word=(char *)words[u]; | ^ CC tunicode.o CC tvlstr.o tvlstr.c: In function 'test_write_same_element': tvlstr.c:864:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 864 | char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"}; | ^~~~~ tvlstr.c:864:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 864 | char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"}; | ^~~~~~~~~~~ tvlstr.c:864:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 864 | char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"}; | ^~~~~~ tvlstr.c:864:59: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 864 | char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"}; | ^~~~~~~~~~~ tvlstr.c:869:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 869 | char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."}; | ^~~~~~~~~ tvlstr.c:869:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 869 | char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."}; | ^~~~~~~~~~~ tvlstr.c:869:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 869 | char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."}; | ^~~~~~~ tvlstr.c:869:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 869 | char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."}; | ^~~~~~~~~ CC tvltypes.o tvltypes.c: In function 'test_vltypes_fill_value': tvltypes.c:2438:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead", 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"}; | ^~~~~~~~ tvltypes.c:2438:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead", 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"}; | ^~ tvltypes.c:2438:60: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead", 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"}; | ^~~~ tvltypes.c:2438:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead", 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"}; | ^~~~~~ tvltypes.c:2438:97: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead", 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"}; | ^~~~~~~~ tvltypes.c:2438:107: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead", 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"}; | ^~~~~~~ tvltypes.c:2439:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2439 | const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"}; | ^~ tvltypes.c:2439:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2439 | const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"}; | ^~~~ tvltypes.c:2439:56: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2439 | const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"}; | ^~~~~ tvltypes.c:2439:63: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2439 | const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"}; | ^~~~~ tvltypes.c:2439:93: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2439 | const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"}; | ^~~~~~~ tvltypes.c:2439:102: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2439 | const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"}; | ^~~~~~ CC cache.o cache.c: In function 'check_flush_cache__flush_ops': cache.c:7157:37: warning: size of 'spec' 2592 bytes exceeds maximum object size 2560 [-Wlarger-than=] 7157 | struct fo_flush_cache_test_spec spec[6] = | ^~~~ cache.c:7423:37: warning: size of 'spec' 2592 bytes exceeds maximum object size 2560 [-Wlarger-than=] 7423 | struct fo_flush_cache_test_spec spec[6] = | ^~~~ cache.c:8021:37: warning: size of 'spec' 4320 bytes exceeds maximum object size 2560 [-Wlarger-than=] 8021 | struct fo_flush_cache_test_spec spec[10] = | ^~~~ cache.c:8455:37: warning: size of 'spec' 4320 bytes exceeds maximum object size 2560 [-Wlarger-than=] 8455 | struct fo_flush_cache_test_spec spec[10] = | ^~~~ cache.c: In function 'check_flush_cache__flush_op_eviction_test': cache.c:9706:34: warning: size of 'expected' 6160 bytes exceeds maximum object size 2560 [-Wlarger-than=] 9706 | struct expected_entry_status expected[10 + 31 + 14] = | ^~~~~~~~ cache.c: In function 'check_flush_cache__single_entry': cache.c:12248:7: warning: size of 'spec' 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 12248 | } spec[256] = | ^~~~ cache.c: In function 'check_metadata_blizzard_absence': cache.c:28269:34: warning: size of 'expected' 16800 bytes exceeds maximum object size 2560 [-Wlarger-than=] 28269 | struct expected_entry_status expected[150] = | ^~~~~~~~ cache.c: In function 'check_metadata_cork': cache.c:33836:34: warning: size of 'expected' 16800 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33836 | struct expected_entry_status expected[150] = | ^~~~~~~~ cache.c: In function 'cedds__expunge_dirty_entry_in_flush_test': cache.c:34666:34: warning: size of 'expected' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 34666 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function 'cedds__H5C_make_space_in_cache': cache.c:34895:34: warning: size of 'expected' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 34895 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function 'cedds__H5C__autoadjust__ageout__evict_aged_out_entries': cache.c:35275:34: warning: size of 'expected' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 35275 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function 'check_flush_cache__single_entry': cc1: warning: size of '*.LC0' 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] cache.c: In function 'cedds__H5C_make_space_in_cache': cc1: warning: size of '*.LC6' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] cache.c: In function 'check_flush_cache__flush_op_eviction_test': cache.c:37101:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 37101 | } /* main() */ | ^ cache.c: In function 'check_flush_cache__flush_ops': cache.c:5441:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5441 | check_flush_cache__flush_ops(H5F_t * file_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c:5441:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache.c: In function 'check_flush_cache__single_entry': cache.c:11027:1: warning: stack usage might be 8352 bytes [-Wstack-usage=] 11027 | check_flush_cache__single_entry(H5F_t * file_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c: In function 'check_metadata_cork': cache.c:33816:1: warning: stack usage is 16912 bytes [-Wstack-usage=] 33816 | check_metadata_cork(hbool_t fill_via_insertion, unsigned paged) | ^~~~~~~~~~~~~~~~~~~ cache.c:34527:1: warning: the frame size of 16832 bytes is larger than 16384 bytes [-Wframe-larger-than=] 34527 | } /* check_metadata_cork() */ | ^ cache.c: In function 'check_metadata_blizzard_absence': cache.c:28250:1: warning: stack usage is 16912 bytes [-Wstack-usage=] 28250 | check_metadata_blizzard_absence(hbool_t fill_via_insertion, unsigned paged) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c:29079:1: warning: the frame size of 16832 bytes is larger than 16384 bytes [-Wframe-larger-than=] 29079 | } /* check_metadata_blizzard_absence() */ | ^ CC cache_api.o CC cache_image.o CC genall5.o CC cache_tagging.o cache_tagging.c: In function 'check_invalid_tag_application': cache_tagging.c:3759:1: warning: label 'error' defined but not used [-Wunused-label] 3759 | error: | ^~~~~ cache_tagging.c: In function 'check_dense_attribute_tags': cache_tagging.c:978:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 978 | check_dense_attribute_tags(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_tagging.c:978:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC lheap.o CC ohdr.o In file included from h5test.h:28, from ohdr.c:17: ohdr.c: In function 'test_unknown': ../src/H5private.h:1470:31: warning: 'strncat' specified bound 5 equals source length [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ ohdr.c:487:5: note: in expansion of macro 'HDstrncat' 487 | HDstrncat(testfile, ".copy", 5); | ^~~~~~~~~ CC stab.o CC gheap.o CC evict_on_close.o CC farray.o CC earray.o CC btree2.o CC fheap.o CC pool.o CC accum.o CC hyperslab.o CC istore.o CC bittests.o CC dt_arith.o dt_arith.c: In function 'my_isnan': dt_arith.c:2728:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2728 | retval = (x!=x); | ^~ dt_arith.c:2732:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2732 | retval = (x!=x); | ^~ dt_arith.c:2737:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2737 | retval = (x!=x); | ^~ CC page_buffer.o CC dtypes.o dtypes.c: In function 'test_utf_ascii_conv': dtypes.c:7225:55: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 7225 | status = H5Tconvert(utf8_vtid, ascii_vtid, 1, (void *)utf8_w, NULL, H5P_DEFAULT); | ^ dtypes.c:7258:55: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 7258 | status = H5Tconvert(ascii_vtid, utf8_vtid, 1, (void *)ascii_w, NULL, H5P_DEFAULT); | ^ CC dsets.o In file included from /home/pbulk/build/devel/hdf5-c++/work/.buildlink/include/szlib.h:41, from dsets.c:56: /home/pbulk/build/devel/hdf5-c++/work/.buildlink/include/libaec.h:47:5: warning: "BUILDING_LIBAEC" is not defined, evaluates to 0 [-Wundef] 47 | #if BUILDING_LIBAEC && HAVE_VISIBILITY | ^~~~~~~~~~~~~~~ dsets.c: In function 'test_filters': dsets.c:2316:5: warning: unused parameter 'fapl' [-Wunused-parameter] 2312 | test_filters(hid_t file, hid_t | ~~~~~ 2313 | #ifndef H5_HAVE_FILTER_SZIP | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2314 | H5_ATTR_UNUSED | ~~~~~~~~~~~~~~ 2315 | #endif /* H5_HAVE_FILTER_SZIP */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2316 | fapl) | ^~~~ dsets.c: In function 'make_random_offset_and_increment': dsets.c:7277:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7277 | maxinc = MIN(nelts - 1, LONG_MAX - nelts); | ^~~~~~ CC chunk_info.o chunk_info.c: In function 'test_chunk_info_extensible_array': chunk_info.c:1056:14: warning: unused variable 'out_buf' [-Wunused-variable] 1056 | int out_buf[NX][NY]; /* Buffer to read data in */ | ^~~~~~~ chunk_info.c: In function 'test_chunk_info_version2_btrees': chunk_info.c:1263:14: warning: unused variable 'out_buf' [-Wunused-variable] 1263 | int out_buf[NX][NY]; /* Buffer to read data in */ | ^~~~~~~ chunk_info.c: In function 'create_4x4_dset': chunk_info.c:1641:5: warning: 'pid' may be used uninitialized in this function [-Wmaybe-uninitialized] 1641 | H5Pclose(pid); | ^~~~~~~~~~~~~ chunk_info.c:1640:5: warning: 'm_sid' may be used uninitialized in this function [-Wmaybe-uninitialized] 1640 | H5Sclose(m_sid); | ^~~~~~~~~~~~~~~ chunk_info.c:1639:5: warning: 'f_sid' may be used uninitialized in this function [-Wmaybe-uninitialized] 1639 | H5Sclose(f_sid); | ^~~~~~~~~~~~~~~ chunk_info.c:1638:5: warning: 'did' may be used uninitialized in this function [-Wmaybe-uninitialized] 1638 | H5Dclose(did); | ^~~~~~~~~~~~~ CC cmpd_dset.o CC filter_fail.o CC extend.o CC direct_chunk.o CC external.o external.c: In function 'main': external.c:949:53: warning: 'extern_' directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 949 | HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath, H5_DIR_SEPS, (int) i + 1); | ^~~~~~~ external.c:949:48: note: directive argument in the range [1, 4] 949 | HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath, H5_DIR_SEPS, (int) i + 1); | ^~~~~~~~~~~~~~~~~~~~ In file included from h5test.h:28, from external_common.h:24, from external.c:20: ../src/H5private.h:1425:27: note: 'snprintf' output between 15 and 1038 bytes into a destination of size 1024 1425 | #define HDsnprintf snprintf /*varargs*/ external.c:949:9: note: in expansion of macro 'HDsnprintf' 949 | HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath, H5_DIR_SEPS, (int) i + 1); | ^~~~~~~~~~ CC efc.o CC objcopy.o objcopy.c: In function 'compare_data': objcopy.c:1098:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1098 | ref_buf1 = (const hdset_reg_ref_t *)buf1; | ^ objcopy.c:1099:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1099 | ref_buf2 = (const hdset_reg_ref_t *)buf2; | ^ objcopy.c: In function 'attach_attribute_compound_vlstr': objcopy.c:5808:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5808 | buf.v = "ThisIsAString"; | ^ CC links.o CC unlink.o CC twriteorder.o CC big.o CC mtime.o CC fillval.o CC mount.o CC flush1.o CC flush2.o CC app_ref.o app_ref.c: In function 'main': app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 201 | } | ^ app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:113:5: note: in expansion of macro 'RAND_INC' 113 | RAND_INC (T_FILE) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:119:5: note: in expansion of macro 'RAND_INC' 119 | RAND_INC (T_PLIST) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:126:5: note: in expansion of macro 'RAND_INC' 126 | RAND_INC (T_PCLASS) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:132:5: note: in expansion of macro 'RAND_INC' 132 | RAND_INC (T_TYPE) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:138:5: note: in expansion of macro 'RAND_INC' 138 | RAND_INC (T_SPACE) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:145:5: note: in expansion of macro 'RAND_INC' 145 | RAND_INC (T_DSET) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:152:5: note: in expansion of macro 'RAND_INC' 152 | RAND_INC (T_ATTR) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:159:5: note: in expansion of macro 'RAND_INC' 159 | RAND_INC (T_GROUP) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:165:5: note: in expansion of macro 'RAND_INC' 165 | RAND_INC (T_ECLASS) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:171:5: note: in expansion of macro 'RAND_INC' 171 | RAND_INC (T_EMSG) | ^~~~~~~~ app_ref.c:35:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i=0; i<ninc; i++) \ | ^~~ app_ref.c:177:5: note: in expansion of macro 'RAND_INC' 177 | RAND_INC (T_ESTACK) | ^~~~~~~~ CC enum.o CC set_extent.o set_extent.c: In function 'test_random_rank4': set_extent.c:2273:17: warning: size of 'rbuf' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2273 | static int rbuf[10][10][10][10]; /* Read buffer */ | ^~~~ set_extent.c:2274:17: warning: size of 'wbuf' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2274 | static int wbuf[10][10][10][10]; /* Write buffer */ | ^~~~ set_extent.c:2275:20: warning: size of 'dim_log' 3232 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2275 | static hsize_t dim_log[RAND4_NITER+1][4]; /* Log of dataset dimensions */ | ^~~~~~~ set_extent.c: In function 'test_random_rank4_vl': set_extent.c:2476:18: warning: size of 'rbuf' 160000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2476 | static hvl_t rbuf[10][10][10][10]; /* Read buffer */ | ^~~~ set_extent.c:2477:18: warning: size of 'wbuf' 160000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2477 | static hvl_t wbuf[10][10][10][10]; /* Write buffer */ | ^~~~ set_extent.c:2478:20: warning: size of 'dim_log' 3232 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2478 | static hsize_t dim_log[RAND4_NITER+1][4]; /* Log of dataset dimensions */ | ^~~~~~~ CC ttsafe.o CC ttsafe_dcreate.o CC ttsafe_error.o CC ttsafe_cancel.o CC ttsafe_acreate.o CC ttsafe_attr_vlen.o CC enc_dec_plist.o CC enc_dec_plist_cross_platform.o CC getname.o CC vfd.o CC ros3.o CC s3comms.o CC hdfs.o CC ntypes.o ntypes.c:33:5: warning: size of 'ipoints2' 80000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33 | int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1]; | ^~~~~~~~ ntypes.c:33:27: warning: size of 'icheck2' 80000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33 | int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1]; | ^~~~~~~ ntypes.c:34:7: warning: size of 'spoints2' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 34 | short spoints2[DIM0][DIM1], scheck2[DIM0][DIM1]; | ^~~~~~~~ ntypes.c:34:29: warning: size of 'scheck2' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 34 | short spoints2[DIM0][DIM1], scheck2[DIM0][DIM1]; | ^~~~~~~ ntypes.c:35:5: warning: size of 'ipoints3' 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 35 | int ipoints3[DIM0][DIM1][5], icheck3[DIM0][DIM1][5]; | ^~~~~~~~ ntypes.c:35:30: warning: size of 'icheck3' 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 35 | int ipoints3[DIM0][DIM1][5], icheck3[DIM0][DIM1][5]; | ^~~~~~~ CC dangle.o CC dtransform.o dtransform.c: In function 'main': dtransform.c:289:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 289 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, char, H5T_NATIVE_CHAR, "char", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:289:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:289:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:289:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:290:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 290 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned char, H5T_NATIVE_UCHAR, "uchar", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:290:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:290:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:290:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:291:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 291 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, signed char, H5T_NATIVE_SCHAR, "schar", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:291:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:291:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:291:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:292:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 292 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, short, H5T_NATIVE_SHORT, "short", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:292:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:292:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:292:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:293:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 293 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned short, H5T_NATIVE_USHORT, "ushort", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:293:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:293:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:293:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:294:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 294 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, int, H5T_NATIVE_INT, "int", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:294:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:294:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:294:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:296:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 296 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:296:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:296:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:296:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:298:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 298 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:298:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:298:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:298:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:117:10: warning: size of 'array' 3456 bytes exceeds maximum object size 2560 [-Wlarger-than=] 117 | TYPE array[ROWS][COLS]; \ | ^~~~~ dtransform.c:303:5: note: in expansion of macro 'TEST_TYPE_CONTIG' 303 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long double, H5T_NATIVE_LDOUBLE, "ldouble", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:306:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 306 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, char, H5T_NATIVE_CHAR, "char", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:306:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:307:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 307 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned char, H5T_NATIVE_UCHAR, "uchar", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:307:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:308:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 308 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, signed char, H5T_NATIVE_SCHAR, "schar", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:308:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:309:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 309 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, short, H5T_NATIVE_SHORT, "short", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:309:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:310:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 310 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned short, H5T_NATIVE_USHORT, "ushort", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:310:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:311:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 311 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, int, H5T_NATIVE_INT, "int", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:311:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:313:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 313 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:313:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:315:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 315 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:315:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:183:10: warning: size of 'array' 3456 bytes exceeds maximum object size 2560 [-Wlarger-than=] 183 | TYPE array[ROWS][COLS]; \ | ^~~~~ dtransform.c:320:5: note: in expansion of macro 'TEST_TYPE_CHUNK' 320 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long double, H5T_NATIVE_LDOUBLE, "ldouble", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 858 | } | ^ dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:858:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 256 | int main(void) | ^~~~ dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:256:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC reserved.o CC cross_read.o CC freespace.o CC mf.o CC vds.o CC file_image.o CC unregister.o CC cache_logging.o CC cork.o cork.c: In function 'verify_named_cork': cork.c:921:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 921 | verify_named_cork(hbool_t swmr) | ^~~~~~~~~~~~~~~~~ cork.c:921:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC swmr.o CC thread_id.o CC timer.o CC version_bounds_1_10.o CC error_test.o CC err_compat.o CC tcheck_version.o tcheck_version.c: In function 'parse': tcheck_version.c:58:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 58 | parse(int ac, char **av) | ^~~~~ CC testmeta.o CC accum_swmr_reader.o CC atomic_writer.o CC atomic_reader.o CC external_env.o CC links_env.o CC filenotclosed.o CC del_many_dense_attrs.o del_many_dense_attrs.c: In function 'main': del_many_dense_attrs.c:63:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 63 | main(void) | ^~~~ del_many_dense_attrs.c:63:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c:63:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c:63:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC flushrefresh.o CC use_append_chunk.o CC use_common.o CC use_append_chunk_mirror.o CC use_append_mchunks.o CC use_disable_mdc_flushes.o CC swmr_generator.o CC swmr_start_write.o CC swmr_reader.o CC swmr_writer.o CC swmr_remove_reader.o CC swmr_remove_writer.o CC swmr_addrem_writer.o CC swmr_sparse_reader.o swmr_sparse_reader.c: In function 'read_records': swmr_sparse_reader.c:262:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 262 | if(HDtime(NULL) >= (time_t)(start_time + (time_t)TIMEOUT)) { | ^~ CC swmr_sparse_writer.o CC swmr_check_compat_vfd.o CC vds_env.o vds_env.c: In function 'test_vds_prefix_second': vds_env.c:51:1: warning: stack usage might be 9600 bytes [-Wstack-usage=] 51 | test_vds_prefix_second(unsigned config, hid_t fapl) | ^~~~~~~~~~~~~~~~~~~~~~ CC vds_swmr_gen.o CC vds_swmr_reader.o CC vds_swmr_writer.o vds_swmr_writer.c: In function 'main': vds_swmr_writer.c:120:14: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 120 | while(HDtime(0) < delay) | ^ CC mirror_vfd.o CC filter_plugin.o CCLD libh5test.la CCLD libfilter_plugin1_dsets.la CCLD libfilter_plugin2_dsets.la CCLD libfilter_plugin3_dsets.la CCLD libfilter_plugin4_groups.la CCLD accum CCLD accum_swmr_reader CCLD app_ref CCLD atomic_reader CCLD atomic_writer CCLD big CCLD bittests CCLD btree2 CCLD cache CCLD cache_api CCLD cache_image CCLD cache_logging CCLD cache_tagging CCLD chunk_info CCLD cmpd_dset CCLD cork CCLD cross_read CCLD dangle CCLD del_many_dense_attrs CCLD direct_chunk CCLD dsets CCLD dt_arith CCLD dtransform CCLD dtypes CCLD earray CCLD efc CCLD enc_dec_plist CCLD enc_dec_plist_cross_platform CCLD enum CCLD err_compat CCLD error_test CCLD evict_on_close CCLD extend CCLD external CCLD external_env CCLD farray CCLD fheap CCLD file_image CCLD filenotclosed CCLD fillval CCLD filter_fail CCLD filter_plugin CCLD flush1 CCLD flush2 CCLD flushrefresh CCLD freespace CCLD getname CCLD gheap CCLD hdfs CCLD hyperslab CCLD istore CCLD lheap CCLD links CCLD links_env CCLD mf CCLD mirror_vfd CCLD mount CCLD mtime CCLD ntypes CCLD objcopy CCLD ohdr CCLD page_buffer CCLD pool CCLD reserved CCLD ros3 CCLD s3comms CCLD set_extent CCLD stab CCLD swmr CCLD swmr_addrem_writer CCLD swmr_check_compat_vfd CCLD swmr_generator CCLD swmr_reader CCLD swmr_remove_reader CCLD swmr_remove_writer CCLD swmr_sparse_reader CCLD swmr_sparse_writer CCLD swmr_start_write CCLD swmr_writer CCLD tcheck_version CCLD testhdf5 CCLD testmeta CCLD thread_id CCLD timer CCLD ttsafe CCLD twriteorder CCLD unlink CCLD unregister CCLD use_append_chunk CCLD use_append_chunk_mirror CCLD use_append_mchunks CCLD use_disable_mdc_flushes CCLD vds CCLD vds_env CCLD vds_swmr_gen CCLD vds_swmr_reader CCLD vds_swmr_writer CCLD version_bounds_1_10 CCLD vfd Making all in bin Making all in utils Making all in mirror_vfd CC mirror_server.o CC mirror_writer.o CC mirror_remote.o CC mirror_server_stop.o CCLD mirror_server CCLD mirror_server_stop Making all in tools Making all in lib CC h5tools.lo h5tools.c: In function 'init_acc_pos': h5tools.c:2087:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2087 | } | ^ h5tools.c:1453:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1453 | init_acc_pos(unsigned ndims, hsize_t *dims, hsize_t *acc, hsize_t *pos, hsize_t *p_min_idx) | ^~~~~~~~~~~~ CC h5tools_dump.lo h5tools_dump.c: In function 'h5tools_dump_reference': h5tools_dump.c:3972:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 3972 | void *memref = region_buf + i * nsize; | ^ CC h5tools_str.lo In file included from h5tools_str.c:17: h5tools_str.c: In function 'h5tools_str_fmt.part.0': ../../src/H5private.h:1476:31: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ h5tools_str.c:261:9: note: in expansion of macro 'HDstrncpy' 261 | HDstrncpy(temp, str->s + start, n); | ^~~~~~~~~ CC h5tools_utils.lo CC h5diff.lo CC h5diff_array.lo h5diff_array.c: In function 'diff_datum': h5diff_array.c:466:21: warning: unused variable 'both_zero' [-Wunused-variable] 466 | hbool_t both_zero; | ^~~~~~~~~ h5diff_array.c:465:21: warning: unused variable 'per' [-Wunused-variable] 465 | double per; | ^~~ h5diff_array.c: In function 'character_compare_opt': h5diff_array.c:1364:19: warning: variable 'both_zero' set but not used [-Wunused-but-set-variable] 1364 | hbool_t both_zero = FALSE; | ^~~~~~~~~ CC h5diff_attr.lo CC h5diff_dset.lo CC h5diff_util.lo h5diff_util.c: In function 'print_dimensions': h5diff_util.c:369:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 369 | } | ^ h5diff_util.c:31:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 31 | print_dimensions (int rank, hsize_t *dims) | ^~~~~~~~~~~~~~~~ h5diff_util.c:31:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5diff_util.c:31:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC h5trav.lo CC h5tools_filters.lo CC h5tools_ref.lo CC h5tools_type.lo CC io_timer.lo CCLD libh5tools.la Making all in src Making all in h5diff CC h5diff_main.o CC h5diff_common.o h5diff_common.c:72:5: warning: "TRILABS" is not defined, evaluates to 0 [-Wundef] 72 | #if TRILABS-227 | ^~~~~~~ h5diff_common.c: In function 'parse_command_line': h5diff_common.c:446:5: warning: "TRILABS" is not defined, evaluates to 0 [-Wundef] 446 | #if TRILABS-227 | ^~~~~~~ CCLD h5diff Making all in h5ls CC h5ls.o CCLD h5ls Making all in h5dump CC h5dump.o CC h5dump_ddl.o h5dump_ddl.c: In function 'attr_search': h5dump_ddl.c:2041:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2041 | } | ^ h5dump_ddl.c:2041:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5dump_ddl.c:1265:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1265 | attr_search(hid_t oid, const char *attr_name, const H5A_info_t H5_ATTR_UNUSED *ainfo, void *_op_data) | ^~~~~~~~~~~ h5dump_ddl.c:1265:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from h5dump_ddl.c:14: ../../../src/H5private.h:1470:31: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ h5dump_ddl.c:1305:21: note: in expansion of macro 'HDstrncat' 1305 | HDstrncat(obj_name, buf, u + 1); | ^~~~~~~~~ ../../../src/H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5dump_ddl.c:1294:17: note: in expansion of macro 'HDstrlen' 1294 | u = HDstrlen(buf); | ^~~~~~~~ h5dump_ddl.c: In function 'lnk_search': ../../../src/H5private.h:1470:31: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1470 | #define HDstrncat(X,Y,Z) strncat(X,Y,Z) | ^~~~~~~~~~~~~~ h5dump_ddl.c:1378:13: note: in expansion of macro 'HDstrncat' 1378 | HDstrncat(search_name, op_name, search_len + 1); | ^~~~~~~~~ ../../../src/H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5dump_ddl.c:1365:18: note: in expansion of macro 'HDstrlen' 1365 | search_len = HDstrlen(op_name); | ^~~~~~~~ ../../../src/H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ h5dump_ddl.c:1381:13: note: in expansion of macro 'HDstrncpy' 1381 | HDstrncpy(search_name, op_name, search_len + 1); | ^~~~~~~~~ ../../../src/H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ h5dump_ddl.c:1365:18: note: in expansion of macro 'HDstrlen' 1365 | search_len = HDstrlen(op_name); | ^~~~~~~~ CC h5dump_xml.o CCLD h5dump Making all in misc CC h5debug.o CC h5repart.o CC h5mkgrp.o CC h5clear.o CCLD h5debug CCLD h5repart CCLD h5mkgrp CCLD h5clear Making all in h5import CC h5import.o h5import.c: In function 'processConfigurationFile': h5import.c:5166:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5166 | } | ^ h5import.c:5166:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:5166:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'processStrHDFData': h5import.c:5166:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'processStrData': h5import.c:5166:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'process': h5import.c:5166:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'processStrHDFData': h5import.c:1090:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1090 | static int processStrHDFData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~~~~ h5import.c:1090:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1126:19: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 1126 | while (j < in->path.count - 1) { | ^ h5import.c:1090:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1090 | static int processStrHDFData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~~~~ h5import.c: In function 'processStrData': h5import.c:950:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 950 | static int processStrData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~ h5import.c:950:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1002:19: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 1002 | while (j < in->path.count - 1) { | ^ h5import.c:950:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 950 | static int processStrData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~ h5import.c: In function 'processConfigurationFile': h5import.c:1374:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1374 | static int processConfigurationFile(char *infile, struct Input *in) | ^~~~~~~~~~~~~~~~~~~~~~~~ h5import.c:1374:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1374:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from h5import.c:15: In function 'getExternalFilename', inlined from 'processConfigurationFile' at h5import.c:2371:21: ../../../src/H5private.h:1476:31: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^~~~~~~~~~~~~~ h5import.c:3739:12: note: in expansion of macro 'HDstrncpy' 3739 | (void) HDstrncpy(in->externFilename, temp, HDstrlen(temp) + 1); | ^~~~~~~~~ h5import.c: In function 'processConfigurationFile': ../../../src/H5private.h:1467:28: note: length computed here 1467 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ ../../../src/H5private.h:1476:43: note: in definition of macro 'HDstrncpy' 1476 | #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z) | ^ h5import.c:3739:48: note: in expansion of macro 'HDstrlen' 3739 | (void) HDstrncpy(in->externFilename, temp, HDstrlen(temp) + 1); | ^~~~~~~~ h5import.c: In function 'main': h5import.c:73:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 73 | int main(int argc, char *argv[]) | ^~~~ h5import.c:73:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:4617:27: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4617 | while (j < in->path.count - 1) { | ^ h5import.c:73:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 73 | int main(int argc, char *argv[]) | ^~~~ CCLD h5import Making all in h5repack CC h5repack.lo h5repack.c: In function 'h5repack_addfilter': h5repack.c:893:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 893 | } /* end get_sfilter() */ | ^ CC h5repack_copy.lo CC h5repack_filters.lo CC h5repack_opttable.lo CC h5repack_parse.lo CC h5repack_refs.lo h5repack_refs.c: In function 'copy_refs_attr': h5repack_refs.c:428:12: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 428 | static int copy_refs_attr(hid_t loc_in, | ^~~~~~~~~~~~~~ CC h5repack_verify.lo CC h5repack_main.o CCLD libh5repack.la CCLD h5repack ld: fatal: recording name conflict: file '/home/pbulk/build/devel/hdf5-c++/work/.buildlink/lib/libhdf5.so' and file '../../../src/.libs/libhdf5.so' provide identical dependency names: libhdf5.so.103 (possible multiple inclusion of the same file) ld: warning: symbol 'H5libhdf5_settings' has differing sizes: (file /home/pbulk/build/devel/hdf5-c++/work/.buildlink/lib/libhdf5.so value=0x1159; file ../../../src/.libs/libhdf5.so value=0x130a); /home/pbulk/build/devel/hdf5-c++/work/.buildlink/lib/libhdf5.so definition taken ld: fatal: file processing errors. No output written to .libs/h5repack collect2: error: ld returned 1 exit status *** [h5repack] Error code 1 bmake[3]: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7/tools/src/h5repack 1 error bmake[3]: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7/tools/src/h5repack *** [all-recursive] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7/tools/src 1 error bmake[2]: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7/tools/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7/tools 1 error bmake[1]: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7/tools *** [all-recursive] Error code 1 bmake: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7 1 error bmake: stopped in /home/pbulk/build/devel/hdf5-c++/work/hdf5-1.10.7 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/hdf5-c++ *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/hdf5-c++