Failed to build with HDF5 1.13.1
The output:
...
-- Found HDF5: hdf5-shared (found version "1.13.1") found components: C HL
...
...
[7550/9966] Building CXX object ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/xdmf2.dir/XdmfH5Driver.cxx.obj
FAILED: ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/xdmf2.dir/XdmfH5Driver.cxx.obj
D:\M\msys64\clang64\bin\clang++.exe -DH5_BUILT_AS_DYNAMIC_LIB -DUSE_SERIAL_XMDF -DVTK_IN_VTK -DWindows -DXDMF_NO_MPI -DXdmf_EXPORTS -IC:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc -IC:/_/mingw-w64-vtk/src/build-CLANG64/ThirdParty/xdmf2/vtkxdmf2/libsrc -isystem C:/_/mingw-w64-vtk/src/build-CLANG64/ThirdParty/xdmf2 -isystem C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2 -isystem C:/_/mingw-w64-vtk/src/build-CLANG64/ThirdParty/hdf5 -isystem C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/hdf5 -isystem C:/_/mingw-w64-vtk/src/build-CLANG64/ThirdParty/libxml2 -isystem C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/libxml2 -isystem D:/M/msys64/clang64/include/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-ignored-attributes -Wno-deprecated-declarations -O3 -DNDEBUG -std=c++11 -MD -MT ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/xdmf2.dir/XdmfH5Driver.cxx.obj -MF ThirdParty\xdmf2\vtkxdmf2\libsrc\CMakeFiles\xdmf2.dir\XdmfH5Driver.cxx.obj.d -o ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/xdmf2.dir/XdmfH5Driver.cxx.obj -c C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:159:5: error: cannot initialize a member subobject of type 'H5FD_class_value_t' (aka 'int') with an lvalue of type 'const char [4]'
"dsm", /*name */
^~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:160:5: error: cannot initialize a member subobject of type 'const char *' with an rvalue of type 'unsigned long long'
MAXADDR, /*maxaddr */
^~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:116:17: note: expanded from macro 'MAXADDR'
#define MAXADDR (((haddr_t)1<<(8*sizeof(file_offset_t)-1))-1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:163:5: error: cannot initialize a member subobject of type 'H5F_close_degree_t' with an rvalue of type 'int'
NULL, /*terminate */
^~~~
D:/M/msys64/clang64/lib/clang/13.0.1/include/stddef.h:86:18: note: expanded from macro 'NULL'
# define NULL 0
^
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:168:5: error: cannot initialize a member subobject of type 'herr_t (*)(H5FD_t *, const char *, const unsigned char *)' (aka 'int (*)(H5FD_t *, const char *, const unsigned char *)') with an rvalue of type 'unsigned long long'
sizeof(H5FD_dsm_fapl_t), /*fapl_size */
^~~~~~~~~~~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:169:5: error: cannot initialize a member subobject of type 'size_t' (aka 'unsigned long long') with an lvalue of type 'void *(H5FD_t *)'
H5FD_dsm_fapl_get, /*fapl_get */
^~~~~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:175:5: error: cannot initialize a member subobject of type 'herr_t (*)(void *)' (aka 'int (*)(void *)') with an lvalue of type 'H5FD_t *(const char *, unsigned int, hid_t, haddr_t)' (aka 'H5FD_t *(const char *, unsigned int, long long, unsigned long long)'): different number of parameters (1 vs 4)
H5FD_dsm_open, /*open */
^~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:176:5: error: cannot initialize a member subobject of type 'H5FD_t *(*)(const char *, unsigned int, hid_t, haddr_t)' (aka 'H5FD_t *(*)(const char *, unsigned int, long long, unsigned long long)') with an lvalue of type 'herr_t (H5FD_t *)' (aka 'int (H5FD_t *)'): different number of parameters (4 vs 1)
H5FD_dsm_close, /*close */
^~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:177:5: error: cannot initialize a member subobject of type 'herr_t (*)(H5FD_t *)' (aka 'int (*)(H5FD_t *)') with an lvalue of type 'int (const H5FD_t *, const H5FD_t *)': different number of parameters (1 vs 2)
H5FD_dsm_cmp, /*cmp */
^~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:184:5: error: cannot initialize a member subobject of type 'herr_t (*)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, hsize_t)' (aka 'int (*)(H5FD_t *, H5F_mem_t, long long, unsigned long long, unsigned long long)') with an lvalue of type 'haddr_t (const H5FD_t *, H5FD_mem_t)' (aka 'unsigned long long (const H5FD_t *, H5F_mem_t)'): different number of parameters (5 vs 2)
H5FD_dsm_get_eoa, /*get_eoa */
^~~~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:185:5: error: cannot initialize a member subobject of type 'haddr_t (*)(const H5FD_t *, H5FD_mem_t)' (aka 'unsigned long long (*)(const H5FD_t *, H5F_mem_t)') with an lvalue of type 'herr_t (H5FD_t *, H5FD_mem_t, haddr_t)' (aka 'int (H5FD_t *, H5F_mem_t, unsigned long long)'): different number of parameters (2 vs 3)
H5FD_dsm_set_eoa, /*set_eoa */
^~~~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:186:5: error: cannot initialize a member subobject of type 'herr_t (*)(H5FD_t *, H5FD_mem_t, haddr_t)' (aka 'int (*)(H5FD_t *, H5F_mem_t, unsigned long long)') with an lvalue of type 'haddr_t (const H5FD_t *, H5FD_mem_t)' (aka 'unsigned long long (const H5FD_t *, H5F_mem_t)'): different number of parameters (3 vs 2)
H5FD_dsm_get_eof, /*get_eof */
^~~~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:188:5: error: cannot initialize a member subobject of type 'herr_t (*)(H5FD_t *, hid_t, void **)' (aka 'int (*)(H5FD_t *, long long, void **)') with an lvalue of type 'herr_t (H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, void *)' (aka 'int (H5FD_t *, H5F_mem_t, long long, unsigned long long, unsigned long long, void *)'): different number of parameters (3 vs 6)
H5FD_dsm_read, /*read */
^~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:189:5: error: cannot initialize a member subobject of type 'herr_t (*)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, void *)' (aka 'int (*)(H5FD_t *, H5F_mem_t, long long, unsigned long long, unsigned long long, void *)') with an lvalue of type 'herr_t (H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, const void *)' (aka 'int (H5FD_t *, H5F_mem_t, long long, unsigned long long, unsigned long long, const void *)'): type mismatch at 6th parameter ('void *' vs 'const void *')
H5FD_dsm_write, /*write */
^~~~~~~~~~~~~~
C:/_/mingw-w64-vtk/src/VTK-9.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:196:5: error: excess elements in scalar initializer
H5FD_FLMAP_SINGLE /*fl_map */
^
D:/M/msys64/clang64/include/H5FDdevelop.h:114:5: note: expanded from macro 'H5FD_FLMAP_SINGLE'
{ \
^
14 errors generated.