Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VFD SWMR: Normalization with develop #765

Merged
merged 125 commits into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
f87b5f8
Brings CMake updates from develop
derobins May 24, 2021
baed6e8
Brings reduction in pedantic casts from develop
derobins May 24, 2021
48aff28
Purges UFAIL from the library (#637)
derobins May 24, 2021
4c3c1e9
Removes gratuitous (double)x.yF casts (#632)
derobins May 24, 2021
31aaa52
Committing clang-format changes
github-actions[bot] May 24, 2021
010b838
Cleans up a const warning left over from previous constification (#633)
derobins May 24, 2021
168ed61
Formatted source
derobins May 24, 2021
b0f4843
Bring over some VOL registration changes
derobins May 24, 2021
7529ecc
VOL cleanup
derobins May 24, 2021
ed26990
H5VL_request_status_t substitutions
derobins May 24, 2021
852fc57
H5F.c cleanup
derobins May 24, 2021
ec89ef4
Minor API tweaks from develop
derobins May 24, 2021
75eb4d1
Moves H5G package init/teardown to H5Gint.c
derobins May 24, 2021
b597a72
H5G cleanup
derobins May 24, 2021
523cce2
H5M cleanup
derobins May 24, 2021
178b1be
H5SM cleanup
derobins May 24, 2021
a623e03
H5T cleanup
derobins May 24, 2021
e64b8f8
H5R cleanup
derobins May 24, 2021
91d89b4
H5Lpublic.h cleanup
derobins May 24, 2021
19da358
H5L cleanup
derobins May 24, 2021
d05998e
H5O cleanup
derobins May 24, 2021
7386fa1
H5A, H5CS, and H5AC cleanup
derobins May 24, 2021
e5a5d0e
Moved H5A init/teardown code to H5Aint.c
derobins May 24, 2021
5b4a545
Moves H5D I/O functions to H5D.c
derobins May 25, 2021
4ba068e
H5D cleanup
derobins May 25, 2021
8ef91e6
Misc minor cleanup
derobins May 25, 2021
66e92be
H5P close cleanup
derobins May 25, 2021
27ab398
H5Tpublic.h cleanup
derobins May 25, 2021
717d56a
Fixes err_compat test
derobins May 25, 2021
7e81d8c
H5PLpublic.h cleanup
derobins May 25, 2021
f4634d9
Updates H5Ppublic.h
derobins May 25, 2021
a78a99a
H5Fpublic.h updates
derobins May 25, 2021
cc0569f
H5A.c cleanup
derobins May 25, 2021
09f878e
Brings over H5Aexists and related changes
derobins May 25, 2021
b1b1c72
Brings CMake shell testing changes from develop
derobins May 25, 2021
59a67f7
Close callback changes
derobins May 25, 2021
1308377
H5R and H5Tcommit normalization
derobins May 25, 2021
de14cb9
err_compat test works now
derobins May 25, 2021
8a38c98
H5O tweaks
derobins May 25, 2021
23809ff
Updates VOL registration code
derobins May 25, 2021
5218981
Brings over H5VL_create_object
derobins May 25, 2021
67c5bfd
H5Tconv.c reformatting
derobins May 25, 2021
7772920
H5T.c tweaks
derobins May 25, 2021
f52d0e3
Brings datatype and reference updates from develop
derobins May 25, 2021
4bc7556
Brings VOL plugin loading changes from develop
derobins May 25, 2021
ab8b9c1
Brings event sets from develop
derobins May 25, 2021
6a1a839
Brings async functions over
derobins May 26, 2021
f5eaba0
Tools changes
derobins May 26, 2021
1a5d362
Brings over many tools changes from develop
derobins May 26, 2021
37673f2
Brings VOL flags from develop
derobins May 26, 2021
e22d5f4
Fixes h5dump double/float tests
derobins May 26, 2021
670c13d
Updates h5repack tests
derobins May 26, 2021
4ee1d2a
Brings h5diff test changes from develop
derobins May 26, 2021
d109a80
Last h5dump changes
derobins May 26, 2021
9e8af34
Brings test changes from develop
derobins May 26, 2021
9afdccb
Merge branch 'vfd_swmr/thg_standards' of https://github.com/derobins/…
derobins May 26, 2021
1ec4672
Committing clang-format changes
github-actions[bot] May 26, 2021
5e081c5
Tidied h5_testing()
derobins May 26, 2021
42968dd
Merge branch 'vfd_swmr/thg_standards' of https://github.com/derobins/…
derobins May 26, 2021
cac5299
Brings chunk iteration code + misc from develop
derobins May 26, 2021
75e9ec7
Updates vds test
derobins May 26, 2021
722b7d8
Enables external link parallel test
derobins May 26, 2021
ffe121f
Brings updated property lists from develop
derobins May 26, 2021
9dd3c84
H5G changes from develop
derobins May 26, 2021
f980e2b
H5MF cleanup
derobins May 26, 2021
3da6280
Brings vfd_swmr test back into CMake
derobins May 27, 2021
b73f636
Updates threadsafe test
derobins May 27, 2021
e88b939
Updates plist test
derobins May 27, 2021
d511582
Brings recent changes from develop
derobins May 27, 2021
7a6de6e
Require a C++11 compiler to build the C++ wrappers (#693)
derobins May 28, 2021
d2fcb07
Fix H5FD_mpio_Debug="rw" can report MPI_count instead of bytes (#699)
derobins May 28, 2021
94804d0
Removes pre-C99 build and header cruft (#700)
derobins May 28, 2021
7e8df46
Updates release documents
derobins May 28, 2021
08f6b22
Brings parallel changes from develop
derobins May 28, 2021
7d0d038
Adds a VFD/parallel check program for the VFD SWMR shell test
derobins May 28, 2021
b6c45bb
Merge remote-tracking branch 'canonical/feature/vfd_swmr' into vfd_sw…
derobins May 28, 2021
5e067b3
Updates MANIFEST
derobins May 28, 2021
460ee73
Disable building VFD SWMR acceptance tests on CMake
derobins May 28, 2021
5fe49dd
Removes err.h from genall5.c
derobins May 28, 2021
3826b07
Merge branch 'vfd_swmr/thg_standards' of https://github.com/derobins/…
derobins May 28, 2021
c54a008
Partial cleanup of H5Cpkg.h
derobins May 28, 2021
9973f96
Fixes printf specifiers in H5Cdbg.c
derobins May 28, 2021
f4be95c
Java and fortran cmake changes (#694)
derobins May 30, 2021
b698d82
Removes alternative function enter/leave macro scheme (#678)
derobins May 30, 2021
a450d96
Split H5L.c internal code to H5Lint.c (#691)
derobins May 30, 2021
cd29228
Clean up type size checks in configure.ac (#702)
derobins May 30, 2021
f02cf07
Committing clang-format changes
github-actions[bot] May 30, 2021
ec4bab5
C++ warning and build fixes (#707)
derobins Jun 4, 2021
d058667
Removes some DEC Alpha cruft from H5detect and H5private.h (#708)
derobins Jun 4, 2021
ae76e51
Cleans up hsize_t and haddr_t size guessing (#709)
derobins Jun 4, 2021
db3a5b6
Updates PGI C/C++ configurations (#715)
derobins Jun 4, 2021
3d3218d
Adds an Intel C++ configuration file (#716)
derobins Jun 4, 2021
282e5da
Updates bin/trace script to correctly wrap H5TRACE macros near clang-…
derobins Jun 4, 2021
4569c01
Fixes issue with ccmake that prevents building Fortran (#723)
derobins Jun 4, 2021
61ff926
Updates CMake size_t and ssize_t checks for MacOS
derobins Jun 4, 2021
6943a52
Moved a little boilerplate over from develop
derobins Jun 4, 2021
0943d79
Fixes some warnings
derobins Jun 6, 2021
2b6c0ba
Committing clang-format changes
github-actions[bot] Jun 6, 2021
8500a94
Moves gcc warning macros from H5public.h to H5private.h (#724)
derobins Jun 7, 2021
10cc908
Adds __STDC_FORMAT_MACROS before including inttypes.h w/ C++ (#726)
derobins Jun 7, 2021
d31de17
Moves H5PacketTable default ctor inside source file (#731)
derobins Jun 7, 2021
e9ebffa
Brings (most) H5Xdevelop.h headers from develop
derobins Jun 7, 2021
2a855d9
Trivial H5F and H5O changes during normalization
derobins Jun 8, 2021
e186efb
Renames buf_ptr back to page_buf to better align with develop
derobins Jun 8, 2021
39f1364
Removed H5HGtrap.c
derobins Jun 8, 2021
9a131ae
Brings changes from develop
derobins Jun 11, 2021
a8844a7
Normalization (mainly cache) with develop
derobins Jun 11, 2021
bc8d72b
Fix Direct VFD Testing in CMake (#742)
derobins Jun 11, 2021
da177e2
Fixes C++ warnings when passing hsize_t values to printf in test code…
derobins Jun 11, 2021
aea1d30
Organize and align compiler flags (#741)
derobins Jun 11, 2021
78da4be
Committing clang-format changes
github-actions[bot] Jun 11, 2021
5336931
Cache code tidying
derobins Jun 11, 2021
5ccbc25
Constification of cache code
derobins Jun 12, 2021
4da8123
Renaming of static calls in cache
derobins Jun 12, 2021
de933d0
Merge branch 'vfd_swmr/thg_standards' of https://github.com/derobins/…
derobins Jun 14, 2021
760eb4e
Fixes H5C mess made by git during merge
derobins Jun 14, 2021
1265fe8
Committing clang-format changes
github-actions[bot] Jun 14, 2021
a130b50
Fixes a printf format issue w/ parallel
derobins Jun 14, 2021
ef1886d
Revert "Committing clang-format changes"
derobins Jun 14, 2021
2db2444
Turns off clang formatter in H5C while syncing with develop
derobins Jun 14, 2021
8ec0ff0
Adds a lot of HD prefixes and cleans up err.h usage
derobins Jun 14, 2021
17b6d9e
Committing clang-format changes
github-actions[bot] Jun 14, 2021
1026192
Brings cache skip list optimization from develop
derobins Jun 15, 2021
87757d5
Brings recent changes from develop
derobins Jun 17, 2021
d79951d
Merge remote-tracking branch 'canonical/feature/vfd_swmr' into vfd_sw…
derobins Jun 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,12 @@
./config/gnu-warnings/noerror-5
./config/gnu-warnings/noerror-8
./config/gnu-warnings/noerror-general
./config/intel-warnings/ifort-general
./config/intel-warnings/15
./config/intel-warnings/18
./config/intel-warnings/developer-general
./config/intel-warnings/general
./config/intel-warnings/general-19
./config/intel-warnings/ifort-general

./config/site-specific/BlankForm

Expand Down Expand Up @@ -790,6 +794,7 @@
./src/H5FD.c
./src/H5FDcore.c
./src/H5FDcore.h
./src/H5FDdevelop.h
./src/H5FDdirect.c
./src/H5FDdirect.h
./src/H5FDdrvr_module.h
Expand Down Expand Up @@ -894,7 +899,6 @@
./src/H5HGpkg.h
./src/H5HGprivate.h
./src/H5HGquery.c
./src/H5HGtrap.c
./src/H5HL.c
./src/H5HLcache.c
./src/H5HLdbg.c
Expand All @@ -908,6 +912,7 @@
./src/H5HPprivate.h
./src/H5I.c
./src/H5Idbg.c
./src/H5Idevelop.h
./src/H5Iint.c
./src/H5Imodule.h
./src/H5Ipkg.h
Expand All @@ -916,6 +921,7 @@
./src/H5Itest.c
./src/H5L.c
./src/H5Ldeprec.c
./src/H5Ldevelop.h
./src/H5Lexternal.c
./src/H5Lint.c
./src/H5Lmodule.h
Expand Down Expand Up @@ -1071,6 +1077,7 @@
./src/H5Tcset.c
./src/H5Tdbg.c
./src/H5Tdeprec.c
./src/H5Tdevelop.h
./src/H5Tenum.c
./src/H5Tfields.c
./src/H5Tfixed.c
Expand All @@ -1091,8 +1098,8 @@
./src/H5Tvisit.c
./src/H5Tvlen.c
./src/H5TS.c
./src/H5TSdevelop.h
./src/H5TSprivate.h
./src/H5TSpublic.h
./src/H5UC.c
./src/H5UCprivate.h
./src/H5VL.c
Expand Down Expand Up @@ -1125,6 +1132,7 @@
./src/H5WBprivate.h
./src/H5Z.c
./src/H5Zdeflate.c
./src/H5Zdevelop.h
./src/H5Zfletcher32.c
./src/H5Zmodule.h
./src/H5Znbit.c
Expand All @@ -1137,10 +1145,10 @@
./src/H5Ztrans.c
./src/H5queue.h
./src/H5retry_private.h
./src/H5win32defs.h
./src/Makefile.am
./src/hdf5.h
./src/libhdf5.settings.in
./src/H5win32defs.h
./src/uthash.h

./test/AtomicWriterReader.txt
Expand Down
4 changes: 4 additions & 0 deletions bin/trace
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ $Source = "";
"herr_t" => "e",
"H5E_auto1_t" => "Ea",
"H5E_auto2_t" => "EA",
"H5ES_event_complete_func_t" => "EC",
"H5E_direction_t" => "Ed",
"H5E_error_t" => "Ee",
"H5ES_event_insert_func_t" => "EI",
"H5ES_status_t" => "Es",
"H5E_type_t" => "Et",
"H5FD_class_t" => "FC",
Expand Down Expand Up @@ -159,6 +161,8 @@ $Source = "";
"H5VL_file_specific_t" => "Vh",
"H5VL_group_get_t" => "Vi",
"H5VL_group_specific_t" => "Vj",
"H5VL_link_create_t" => "Vk",
# XXX: DELETE LATER - part of combo branch merge
"H5VL_link_create_type_t" => "Vk",
"H5VL_link_get_t" => "Vl",
"H5VL_get_conn_lvl_t" => "VL",
Expand Down
2 changes: 1 addition & 1 deletion c++/test/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set (VFD_LIST
family
)

if (DIRECT_VFD)
if (H5_HAVE_DIRECT)
set (VFD_LIST ${VFD_LIST} direct)
endif ()

Expand Down
31 changes: 16 additions & 15 deletions c++/test/tarray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ test_array_compound_array()
// Check the array dimensions
for (ii = 0; ii < ndims; ii++)
if (rdims1[ii] != tdims1[ii]) {
TestErrPrintf(
"Array dimension information doesn't match!, rdims1[%d]=%lld, tdims1[%d]=%lld\n", ii,
rdims1[ii], ii, tdims1[ii]);
TestErrPrintf("Array dimension information doesn't match!, rdims1[%d]=%" PRIuHSIZE
", tdims1[%d]=%" PRIuHSIZE "\n",
ii, rdims1[ii], ii, tdims1[ii]);
continue;
} // end if

Expand All @@ -198,9 +198,9 @@ test_array_compound_array()
// Check the array dimensions
for (ii = 0; ii < ndims; ii++)
if (rdims1[ii] != tdims1[ii]) {
TestErrPrintf(
"Array dimension information doesn't match!, rdims1[%d]=%lld, tdims1[%d]=%lld\n", ii,
rdims1[ii], ii, tdims1[ii]);
TestErrPrintf("Array dimension information doesn't match!, rdims1[%d]=%" PRIuHSIZE
", tdims1[%d]=%" PRIuHSIZE "\n",
ii, rdims1[ii], ii, tdims1[ii]);
continue;
} // end if

Expand Down Expand Up @@ -249,9 +249,9 @@ test_array_compound_array()
// Check the array dimensions
for (ii = 0; ii < ndims; ii++)
if (rdims1[ii] != tdims1[ii]) {
TestErrPrintf(
"Array dimension information doesn't match!, rdims1[%d]=%lld, tdims1[%d]=%lld\n", ii,
rdims1[ii], ii, tdims1[ii]);
TestErrPrintf("Array dimension information doesn't match!, rdims1[%d]=%" PRIuHSIZE
", tdims1[%d]=%" PRIuHSIZE "\n",
ii, rdims1[ii], ii, tdims1[ii]);
continue;
} // end if

Expand All @@ -266,8 +266,9 @@ test_array_compound_array()
for (idxi = 0; idxi < SPACE1_DIM1; idxi++) {
for (idxj = 0; idxj < ARRAY1_DIM1; idxj++) {
if (wdata[idxi][idxj].i != rdata[idxi][idxj].i) {
TestErrPrintf("Array data information doesn't match!, wdata[%lld][%lld].i=%d, "
"rdata[%lld][%lld].i=%d\n",
TestErrPrintf("Array data information doesn't match!, wdata[%" PRIuHSIZE "][%" PRIuHSIZE
"].i=%d, "
"rdata[%" PRIuHSIZE "][%" PRIuHSIZE "].i=%d\n",
idxi, idxj, wdata[idxi][idxj].i, idxi, idxj, rdata[idxi][idxj].i);
continue;
} // end if
Expand Down Expand Up @@ -459,11 +460,11 @@ test_array_info()
// Check the array dimensions
for (ii = 0; ii < ndims; ii++)
if (rdims1[ii] != tdims1[ii]) {
TestErrPrintf(
"Array dimension information doesn't match!, rdims1[%d]=%llu, tdims1[%d]=z%llu\n", ii,
rdims1[ii], ii, tdims1[ii]);
TestErrPrintf("Array dimension information doesn't match!, rdims1[%d]=%" PRIuHSIZE
", tdims1[%d]=%" PRIuHSIZE "\n",
ii, rdims1[ii], ii, tdims1[ii]);
continue;
} // end if
}
}

// Close all
Expand Down
52 changes: 32 additions & 20 deletions c++/test/tattr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ test_attr_basic_write()
// Verify values read in
for (i = 0; i < ATTR1_DIM1; i++)
if (attr_data1[i] != read_data1[i])
TestErrPrintf("%d: attribute data different: attr_data1[%llu]=%d,read_data1[%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data1[%" PRIuHSIZE
"]=%d,read_data1[%" PRIuHSIZE "]=%d\n",
__LINE__, i, attr_data1[i], i, read_data1[i]);

// Create two more attributes for this dataset, but only write to one.
Expand All @@ -187,7 +188,8 @@ test_attr_basic_write()
// Verify values read in
for (i = 0; i < ATTR1_DIM1; i++)
if (attr_data1a[i] != read_data1[i])
TestErrPrintf("%d: attribute data different: attr_data1a[%llu]=%d,read_data1[%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data1a[%" PRIuHSIZE
"]=%d,read_data1[%" PRIuHSIZE "]=%d\n",
__LINE__, i, attr_data1a[i], i, read_data1[i]);

// Close both attributes
Expand Down Expand Up @@ -453,7 +455,8 @@ test_attr_rename()
// Verify values read in
for (i = 0; i < ATTR1_DIM1; i++)
if (attr_data1[i] != read_data1[i])
TestErrPrintf("%d: attribute data different: attr_data1[%llu]=%d,read_data1[%llu%d\n",
TestErrPrintf("%d: attribute data different: attr_data1[%" PRIuHSIZE
"]=%d,read_data1[%" PRIuHSIZE "]=%d\n",
__LINE__, i, attr_data1[i], i, read_data1[i]);

// Close attribute
Expand All @@ -477,7 +480,8 @@ test_attr_rename()
// Verify values read in
for (i = 0; i < ATTR1_DIM1; i++)
if (attr_data1a[i] != read_data1[i])
TestErrPrintf("%d: attribute data different: attr_data1a[%llu]=%d,read_data1[%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data1a[%" PRIuHSIZE
"]=%d,read_data1[%" PRIuHSIZE "]=%d\n",
__LINE__, i, attr_data1a[i], i, read_data1[i]);

// Close attribute
Expand Down Expand Up @@ -542,7 +546,8 @@ test_attr_basic_read()
// Verify values read in
for (i = 0; i < ATTR1_DIM1; i++)
if (attr_data1[i] != read_data1[i])
TestErrPrintf("%d: attribute data different: attr_data1[%llu]=%d, read_data1[%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data1[%" PRIuHSIZE
"]=%d, read_data1[%" PRIuHSIZE "]=%d\n",
__LINE__, i, attr_data1[i], i, read_data1[i]);

/*
Expand Down Expand Up @@ -573,8 +578,9 @@ test_attr_basic_read()
for (i = 0; i < ATTR2_DIM1; i++)
for (j = 0; j < ATTR2_DIM2; j++)
if (attr_data2[i][j] != read_data2[i][j]) {
TestErrPrintf("%d: attribute data different: attr_data2[%llu][%llu]=%d, "
"read_data2[%llu][%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data2[%" PRIuHSIZE "][%" PRIuHSIZE
"]=%d, "
"read_data2[%" PRIuHSIZE "][%" PRIuHSIZE "]=%d\n",
__LINE__, i, j, attr_data2[i][j], i, j, read_data2[i][j]);
}
PASSED();
Expand Down Expand Up @@ -786,14 +792,17 @@ test_attr_compound_read()
for (ii = 0; ii < ATTR4_DIM1; ii++)
for (jj = 0; jj < ATTR4_DIM2; jj++)
if (HDmemcmp(&attr_data4[ii][jj], &read_data4[ii][jj], sizeof(struct attr4_struct)) != 0) {
TestErrPrintf("%d:attribute data different: attr_data4[%llu][%llu].i=%d, "
"read_data4[%llu][%llu].i=%d\n",
TestErrPrintf("%d:attribute data different: attr_data4[%" PRIuHSIZE "][%" PRIuHSIZE
"].i=%d, "
"read_data4[%" PRIuHSIZE "][%" PRIuHSIZE "].i=%d\n",
__LINE__, ii, jj, attr_data4[ii][jj].i, ii, jj, read_data4[ii][jj].i);
TestErrPrintf("%d:attribute data different: attr_data4[%llu][%llu].d=%f, "
"read_data4[%llu][%llu].d=%f\n",
TestErrPrintf("%d:attribute data different: attr_data4[%" PRIuHSIZE "][%" PRIuHSIZE
"].d=%f, "
"read_data4[%" PRIuHSIZE "][%" PRIuHSIZE "].d=%f\n",
__LINE__, ii, jj, attr_data4[ii][jj].d, ii, jj, read_data4[ii][jj].d);
TestErrPrintf("%d:attribute data different: attr_data4[%llu][%llu].c=%c, "
"read_data4[%llu][%llu].c=%c\n",
TestErrPrintf("%d:attribute data different: attr_data4[%" PRIuHSIZE "][%" PRIuHSIZE
"].c=%c, "
"read_data4[%" PRIuHSIZE "][%" PRIuHSIZE "].c=%c\n",
__LINE__, ii, jj, attr_data4[ii][jj].c, ii, jj, read_data4[ii][jj].c);
} /* end if */

Expand Down Expand Up @@ -1061,8 +1070,8 @@ test_attr_mult_read()
hsize_t dims[ATTR_MAX_DIMS]; // Attribute dimensions
(void)space.getSimpleExtentDims(dims);
if (dims[0] != ATTR1_DIM1)
TestErrPrintf("%d:attribute dimensions different: dims[0]=%d, should be %llu\n", __LINE__,
static_cast<int>(dims[0]), ATTR1_DIM1);
TestErrPrintf("%d:attribute dimensions different: dims[0]=%d, should be %" PRIuHSIZE "\n",
__LINE__, static_cast<int>(dims[0]), ATTR1_DIM1);

/* Verify Datatype */

Expand Down Expand Up @@ -1091,7 +1100,8 @@ test_attr_mult_read()
// Verify values read in
for (i = 0; i < ATTR1_DIM1; i++)
if (attr_data1[i] != read_data1[i])
TestErrPrintf("%d: attribute data different: attr_data1[%llu]=%d,read_data1[%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data1[%" PRIuHSIZE
"]=%d,read_data1[%" PRIuHSIZE "]=%d\n",
__LINE__, i, attr_data1[i], i, read_data1[i]);

// Verify Name
Expand Down Expand Up @@ -1150,8 +1160,9 @@ test_attr_mult_read()
for (i = 0; i < ATTR2_DIM1; i++)
for (j = 0; j < ATTR2_DIM2; j++)
if (attr_data2[i][j] != read_data2[i][j])
TestErrPrintf("%d: attribute data different: attr_data2[%llu][%llu]=%d, "
"read_data2[%llu][%llu]=%d\n",
TestErrPrintf("%d: attribute data different: attr_data2[%" PRIuHSIZE "][%" PRIuHSIZE
"]=%d, "
"read_data2[%" PRIuHSIZE "][%" PRIuHSIZE "]=%d\n",
__LINE__, i, j, attr_data2[i][j], i, j, read_data2[i][j]);

// Verify Name
Expand Down Expand Up @@ -1210,8 +1221,9 @@ test_attr_mult_read()
for (j = 0; j < ATTR3_DIM2; j++)
for (k = 0; k < ATTR3_DIM3; k++)
if (abs(attr_data3[i][j][k] - read_data3[i][j][k]) > DBL_EPSILON)
TestErrPrintf("%d: attribute data different: attr_data3[%llu][%llu][%llu]=%f, "
"read_data3[%llu][%llu][%llu]=%f\n",
TestErrPrintf("%d: attribute data different: attr_data3[%" PRIuHSIZE "][%" PRIuHSIZE
"][%" PRIuHSIZE "]=%f, "
"read_data3[%" PRIuHSIZE "][%" PRIuHSIZE "][%" PRIuHSIZE "]=%f\n",
__LINE__, i, j, k, attr_data3[i][j][k], i, j, k, read_data3[i][j][k]);

// Verify Name
Expand Down
6 changes: 4 additions & 2 deletions config/clang-warnings/noerror-general
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#
# HDF5 code should not trigger the following warnings under any
# circumstances, so ask the compiler to treat them as errors:
# These warnings will be treated as errors, using the error-general file,
# when HDF5_ENABLE_WARNINGS_AS_ERRORS is set to true for CMake or
# the --enable-warnings-as-errors option is specified for configure.
# Otherwise this file will be used to treat them as warnings.
#
-Wbad-function-cast
-Wimplicit-function-declaration
Expand Down
Loading