2
0
mirror of https://github.com/HDFGroup/hdf5.git synced 2025-04-24 17:51:25 +08:00

[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
This commit is contained in:
Quincey Koziol 2002-10-14 13:37:36 -05:00
parent 5e7f799ca9
commit a028401448

@ -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