diff options
author | Quincey Koziol <quincey@koziol.cc> | 2023-12-29 14:42:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 14:42:35 (GMT) |
commit | 3a21ee0877ecea5593112b7c8370cb8571a7e627 (patch) | |
tree | 6a1cde6a6027859601d28375ba299e4556be25d5 /src/H5Ipkg.h | |
parent | 6ffc55c6d9c1f3a30e4db1bc71c452c50952ee85 (diff) | |
download | hdf5-3a21ee0877ecea5593112b7c8370cb8571a7e627.zip hdf5-3a21ee0877ecea5593112b7c8370cb8571a7e627.tar.gz hdf5-3a21ee0877ecea5593112b7c8370cb8571a7e627.tar.bz2 |
Add 'warning density' computation to the warnhist script (#3910)
* Add 'warning density' computation to the warnhist script, along with several
cleanups to it. Add "--enable-show-all-warnings" configure (and CMake)
option to disable compiler diagnostic suppression (and therefore show all the
otherwise suppressed compiler diagnostics), disabled by default. Clean up
a buncn of misc. warnings.
Signed-off-by: Quincey Koziol <qkoziol@amazon.com>
Diffstat (limited to 'src/H5Ipkg.h')
-rw-r--r-- | src/H5Ipkg.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/H5Ipkg.h b/src/H5Ipkg.h index 6207962..c42c61d 100644 --- a/src/H5Ipkg.h +++ b/src/H5Ipkg.h @@ -56,10 +56,13 @@ /* ID information structure used */ typedef struct H5I_id_info_t { - hid_t id; /* ID for this info */ - unsigned count; /* Ref. count for this ID */ - unsigned app_count; /* Ref. count of application visible IDs */ - const void *object; /* Pointer associated with the ID */ + hid_t id; /* ID for this info */ + unsigned count; /* Ref. count for this ID */ + unsigned app_count; /* Ref. count of application visible IDs */ + union { + const void *c_object; /* Const pointer associated with the ID */ + void *object; /* Pointer associated with the ID */ + } u; /* Future ID info */ bool is_future; /* Whether this ID represents a future object */ |