From 3c3692215acce1b4363aa0d88f88ef40bbcc6806 Mon Sep 17 00:00:00 2001 From: conrad Date: Mon, 11 Jul 2022 15:22:48 +1000 Subject: [PATCH] print warning if incompatible HDF5 detected --- src/wrapper1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrapper1.cpp b/src/wrapper1.cpp index a701bc28..b9e5d4c6 100644 --- a/src/wrapper1.cpp +++ b/src/wrapper1.cpp @@ -46,8 +46,8 @@ #include - #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