From 441c8ea43ab6a6559d1f167bdfbbaf3720621804 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Mon, 12 Dec 2016 18:25:34 -0500 Subject: Added text to the function check macros so that a more helpful error message is emitted when there is a problem. --- src/H5private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5private.h b/src/H5private.h index 47f6d78..00de96c 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1973,7 +1973,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */ \ if(!func_check) { \ /* Check function naming status */ \ - HDassert(asrt); \ + HDassert(asrt && "Function naming conventions are incorrect - check H5_IS_API|PUB|PRIV|PKG macros in H5private.h (this is usually due to an incorrect number of underscores)"); \ \ /* Don't check again */ \ func_check = TRUE; \ -- cgit v0.12