summaryrefslogtreecommitdiffstats
path: root/src/H5Apkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-12-06 19:37:09 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-12-06 19:37:09 (GMT)
commita60702605496bb5dfb12af0c0385590df85b31a3 (patch)
tree47bff51f198aaa32b3fbc99eb9720fc34ce6c58e /src/H5Apkg.h
parentb9e08da165628c788ec06a90b3a0fdbdbc3d7960 (diff)
downloadhdf5-a60702605496bb5dfb12af0c0385590df85b31a3.zip
hdf5-a60702605496bb5dfb12af0c0385590df85b31a3.tar.gz
hdf5-a60702605496bb5dfb12af0c0385590df85b31a3.tar.bz2
Fix build errors VOL changes, when using --disable-deprecated-symbols.
Diffstat (limited to 'src/H5Apkg.h')
-rw-r--r--src/H5Apkg.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h
index 12e0857..cfe9dae 100644
--- a/src/H5Apkg.h
+++ b/src/H5Apkg.h
@@ -157,9 +157,17 @@ typedef struct {
/* Types for optional attribute VOL operations */
typedef enum H5VL_attr_optional_t {
-#ifndef H5_NO_DEPRECATED_SYMBOLS
H5VL_ATTR_ITERATE_OLD /* H5Aiterate (deprecated routine) */
-#endif /* H5_NO_DEPRECATED_SYMBOLS */
+ /* (This enum value should have an
+ * "#ifndefH5_NO_DEPRECATED_SYMBOLS"
+ * around it, but the compiler
+ * complains about an empty enum
+ * when deprecated symbols are
+ * disabled currently. When
+ * another enum value is added,
+ * please put the #ifdef around
+ * this symbol. QAK - 2018/12/06
+ */
} H5VL_attr_optional_t;