From dd5d27951f2ba156dc99cf5addaa2fb6e3cf345a Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Fri, 16 Jul 2010 16:35:35 -0500 Subject: [svn-r19082] Made ';' after H5_PUSH_FUNC consistent throughout H5private.h to fix compile failure with Sun 5.10 C compiler. Added Sun 5.10 compilers to RELEASE.txt. Tested on linew. Tested on amani, heiwa, and jam with h5committest. --- release_docs/RELEASE.txt | 2 +- src/H5private.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 78d69a0..b99bd37 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -92,7 +92,7 @@ New Features Support for New Platforms, Languages, and Compilers =================================================== - - None + - Sun C and C++ 5.10 and Sun Fortran 95 8.4. Bug Fixes since HDF5-1.8.5 diff --git a/src/H5private.h b/src/H5private.h index f121875..f772dae 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1700,7 +1700,7 @@ extern hbool_t H5_libinit_g; /* Has the library been initialized? */ /* Include required function stack header */ #include "H5CSprivate.h" -#define H5_PUSH_FUNC(func_name) H5CS_push(#func_name) +#define H5_PUSH_FUNC(func_name) H5CS_push(#func_name); #define H5_POP_FUNC H5CS_pop(); #else /* H5_HAVE_CODESTACK */ #define H5_PUSH_FUNC(func_name) /* void */ @@ -1827,7 +1827,7 @@ static herr_t H5_INTERFACE_INIT_FUNC(void); */ #define FUNC_ENTER_API_NOINIT(func_name) {{ \ FUNC_ENTER_API_COMMON(func_name) \ - H5_PUSH_FUNC(func_name); \ + H5_PUSH_FUNC(func_name) \ BEGIN_MPE_LOG(func_name); \ { @@ -1881,7 +1881,7 @@ static herr_t H5_INTERFACE_INIT_FUNC(void); */ #define FUNC_ENTER_NOAPI_NOINIT(func_name) { \ FUNC_ENTER_COMMON(func_name, !H5_IS_API(#func_name)); \ - H5_PUSH_FUNC(func_name); \ + H5_PUSH_FUNC(func_name) \ { /* @@ -1912,7 +1912,7 @@ static herr_t H5_INTERFACE_INIT_FUNC(void); */ #define FUNC_ENTER_NOAPI_NOINIT_NOFUNC(func_name) { \ FUNC_ENTER_COMMON_NOFUNC(func_name,!H5_IS_API(#func_name)); \ - H5_PUSH_FUNC(func_name); \ + H5_PUSH_FUNC(func_name) \ { /* -- cgit v0.12