mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
Fix build errors VOL changes, when using --disable-deprecated-symbols.
This commit is contained in:
parent
b9e08da165
commit
a607026054
12
src/H5Apkg.h
12
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;
|
||||
|
||||
|
||||
|
12
src/H5Gpkg.h
12
src/H5Gpkg.h
@ -301,10 +301,18 @@ typedef struct H5G_copy_file_ud_t {
|
||||
|
||||
/* Types for optional group VOL operations */
|
||||
typedef enum H5VL_group_optional_t {
|
||||
#ifndef H5_NO_DEPRECATED_SYMBOLS
|
||||
H5VL_GROUP_ITERATE_OLD, /* HG5Giterate (deprecated routine) */
|
||||
H5VL_GROUP_GET_OBJINFO /* HG5Gget_objinfo (deprecated routine) */
|
||||
#endif /* H5_NO_DEPRECATED_SYMBOLS */
|
||||
/* (These two enum values should have an
|
||||
* "#ifndefH5_NO_DEPRECATED_SYMBOLS"
|
||||
* around them, 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
|
||||
* these symbols. QAK - 2018/12/06
|
||||
*/
|
||||
} H5VL_group_optional_t;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user