print warning if incompatible HDF5 detected

This commit is contained in:
conrad
2022-07-11 15:22:48 +10:00
parent 614cad0423
commit 3c3692215a
+2 -2
View File
@@ -46,8 +46,8 @@
#include <hdf5.h>
#if defined(H5_USE_16_API_DEFAULT) || defined(H5_USE_16_API)
// #pragma message ("disabling use of HDF5 due to its incompatible configuration")
#if defined(H5_USE_16_API) || defined(H5_USE_16_API_DEFAULT)
#pragma message ("WARNING: use of HDF5 disabled; incompatible configuration: H5_USE_16_API or H5_USE_16_API_DEFAULT")
#undef ARMA_USE_HDF5_ALT
#endif