Incompatible type for hid_t
In core/XdmfHDF5Controller.hpp hid_t
is typedef'ed to int, but my hdf5 installation defines hid_t
as an int64_t, making the types incompatible.
Perhaps it would be possible to check the type of hid_t
with CMake, to keep the independence from hdf5 headers.
This is the error:
/usr/local/src/VTK-7.1.0/ThirdParty/xdmf3/vtkxdmf3/core/XdmfHDF5Controller.hpp:36:17: note: type ‘hid_t’ should match type ‘hid_t’
typedef int hid_t;
^
/usr/include/hdf5/openmpi/H5Ipublic.h:56:17: note: the incompatible type is defined here
typedef int64_t hid_t;
^