summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-03-20 22:39:21 (GMT)
committerGitHub <noreply@github.com>2023-03-20 22:39:21 (GMT)
commitfd5d0944e23d0ba966e7244f9e3314b84cc45f30 (patch)
treeec7c054083dec36e454bcb203f8c11f08e18527e /src/H5AC.c
parentb766e5f96f26805e8c92e718a05f42d073912711 (diff)
downloadhdf5-fd5d0944e23d0ba966e7244f9e3314b84cc45f30.zip
hdf5-fd5d0944e23d0ba966e7244f9e3314b84cc45f30.tar.gz
hdf5-fd5d0944e23d0ba966e7244f9e3314b84cc45f30.tar.bz2
[1.10 Merge] Add Developer build mode to CMake (#2617)
* Add Developer build mode to CMake (#1659) * Add Developer build mode to CMake * Set a few CMake variables for Developer build modes * Refactor enabling of debug and developer-level compile definitions * Convert cache debugging macros to normal ifdef style Normal ifdef-style instead of if-style allows build system to define macros without warning about redefining macros with different values (0 vs. 1) * Add HDF5 Developer compile definitions to testing files * Temporarily disable -fanalyzer flag for GCC 12+ Developer builds * Fix Java tests for Developer build modes (#2079) * Minor adjustment of Developer build mode changes for 1.10 branch
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index feffa21..8aad330 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -316,7 +316,7 @@ H5AC_create(const H5F_t *f, H5AC_cache_config_t *config_ptr, H5AC_cache_image_co
aux_ptr->dirty_bytes_threshold = H5AC__DEFAULT_DIRTY_BYTES_THRESHOLD;
aux_ptr->dirty_bytes = 0;
aux_ptr->metadata_write_strategy = H5AC__DEFAULT_METADATA_WRITE_STRATEGY;
-#if H5AC_DEBUG_DIRTY_BYTES_CREATION
+#ifdef H5AC_DEBUG_DIRTY_BYTES_CREATION
aux_ptr->dirty_bytes_propagations = 0;
aux_ptr->unprotect_dirty_bytes = 0;
aux_ptr->unprotect_dirty_bytes_updates = 0;