From 1f811eccebeb991faafd9ce21f5960b70cd555eb Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 30 Jun 2016 15:23:42 -0500 Subject: [svn-r30126] Description: Correct build error with non-debug parallel builds Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming) --- src/H5AC.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/H5AC.c b/src/H5AC.c index 0c6aac1..77a58fc 100644 --- a/src/H5AC.c +++ b/src/H5AC.c @@ -183,8 +183,10 @@ done: herr_t H5AC__init_package(void) { -#ifdef H5_DEBUG_BUILD +#if defined H5_DEBUG_BUILD | defined H5_HAVE_PARALLEL H5P_genplist_t *xfer_plist; /* Dataset transfer property list object */ +#endif /* defined H5_DEBUG_BUILD | defined H5_HAVE_PARALLEL */ +#ifdef H5_DEBUG_BUILD H5FD_dxpl_type_t dxpl_type; /* Property indicating the type of the internal dxpl */ #endif /* H5_DEBUG_BUILD */ #ifdef H5_HAVE_PARALLEL -- cgit v0.12