From a028401448cced890029001070f6f505297e839d Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 14 Oct 2002 13:37:36 -0500 Subject: [svn-r5986] Purpose: Code cleanup Description: Shift further toward removing the HRETURN* macros, in favor of the HGOTO* macros for error reporting. This change disables them in the header file and is the last change before removing them entirely after the 1.6 release. Platforms tested: FreeBSD 4.6 (sleipnir) w and w/o parallel Linux 2.2.x (eirene) w/FORTRAN & C++ Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/FORTRAN & parallel --- src/H5Eprivate.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h index db7f096..041104e 100644 --- a/src/H5Eprivate.h +++ b/src/H5Eprivate.h @@ -39,6 +39,11 @@ if (H5_IS_API(FUNC) && H5E_auto_g) \ (H5E_auto_g)(H5E_auto_data_g) +/* Note: if this is still ifdef'ed out and its after the v1.6 release, then + * we should be completely free of the necessity for this macro and it can + * be removed. -QAK, 9/25/2002 + */ +#ifdef OLD_WAY /* * HRETURN_ERROR macro, used to facilitate error reporting between a * FUNC_ENTER() and a FUNC_LEAVE() within a function body. The arguments are @@ -49,6 +54,7 @@ HCOMMON_ERROR (maj, min, str); \ HRETURN(ret_val); \ } +#endif /* OLD_WAY */ /* * HDONE_ERROR macro, used to facilitate error reporting between a -- cgit v0.12