h5md / VMD-h5mdplugin

This plugin enables VMD to display data stored in h5 files that are structured according to the H5MD specifications (http://nongnu.org/h5md/)
Other
10 stars 9 forks source link

compilation fails with HDF5 1.8.12 #3

Closed fhoefling closed 10 years ago

fhoefling commented 10 years ago

For me compilation fails at libh5md.c:356 due to wrong type of parameter 2.

     H5Eset_auto(H5E_DEFAULT, H5Eprint, NULL)

The bug is fixed by resolving the macro "H5Eprint" by its the actual function "H5Eprint2".

jonaslandsgesell commented 10 years ago

Thanks for the hint. "H5Eset_auto( hid_t estack_id, H5E_auto_t func, void *client_data )" is mapped to the newest version of H5Eset_autoX. Therefore in the next commit H5Eprint is cast to H5E_auto_t.