diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-12-12 23:25:34 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-12-12 23:25:34 (GMT) |
commit | 441c8ea43ab6a6559d1f167bdfbbaf3720621804 (patch) | |
tree | b8ac51ff21428b29baad02f6053926510cb3d3a2 /src | |
parent | cc6eb939f4dec06e234835acbb5b3bc269b228c5 (diff) | |
download | hdf5-441c8ea43ab6a6559d1f167bdfbbaf3720621804.zip hdf5-441c8ea43ab6a6559d1f167bdfbbaf3720621804.tar.gz hdf5-441c8ea43ab6a6559d1f167bdfbbaf3720621804.tar.bz2 |
Added text to the function check macros so that a more helpful
error message is emitted when there is a problem.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ |