From d3a5008b3645601bd9506d40706656e71fc26b1c Mon Sep 17 00:00:00 2001 From: bmribler <39579120+bmribler@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:38:26 -0400 Subject: More updates to the library version matrix for H5Pset_libver_bounds() (#3745) Fixes GitHub #3524 in 1.14 --- src/H5Ppublic.h | 135 ++++++++++++++++++++++++-------------------------------- 1 file changed, 58 insertions(+), 77 deletions(-) diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index 64ccb77..8410a82 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -4849,14 +4849,13 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * \p low=#H5F_LIBVER_EARLIEST
* \p high=#H5F_LIBVER_V18 * - * \li The library will create objects with the earliest - * possible format versions. - * \li The library will allow objects to be created with the - * latest format versions available to library release 1.8.x. - * \li API calls that create objects or features that are - * available to versions of the library greater than 1.8.x - * release will fail. - * + * \li The library will create objects with the earliest + * possible format versions. + * \li The library will allow objects to be created with the + * latest format versions available to library release 1.8.x. + * \li API calls that create objects or features that are + * available to versions of the library greater than 1.8.x + * release will fail. * * * \p low=#H5F_LIBVER_EARLIEST
@@ -4865,12 +4864,10 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * \li The library will create objects with the earliest possible * format versions. * \li The library will allow objects to be created with the latest - * format versions available to library release 1.10.x. Note - * that as 1.10.11 is the last release of the 1.10 series. + * format versions available to library release 1.10.x. * \li API calls that create objects or features that are * available to versions of the library greater than 1.10.x - * release will fail. - * + * release will fail. * * * \p low=#H5F_LIBVER_EARLIEST
@@ -4879,12 +4876,10 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * \li The library will create objects with the earliest possible * format versions. * \li The library will allow objects to be created with the latest - * format versions available to library release 1.12.x. Note - * that as 1.12.3 is the last release of the 1.12 series. + * format versions available to library release 1.12.x. * \li API calls that create objects or features that are * available to versions of the library greater than 1.12.x - * release will fail. - * + * release will fail. * * * \p low=#H5F_LIBVER_EARLIEST
@@ -4896,8 +4891,7 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * format versions available to library release 1.14.x. * \li API calls that create objects or features that are * available to versions of the library greater than 1.14.x - * release will fail. - * + * release will fail. * * * \p low=#H5F_LIBVER_V18
@@ -4905,6 +4899,11 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * * \li The library will create objects with the latest format * versions available to library release 1.8.x. + * \li The library will allow objects to be created with the latest + * format versions available to library release 1.8.x. + * \li The objects written with this setting may be + * accessible to a smaller range of library versions than + * would be the case if low is set to #H5F_LIBVER_EARLIEST. * \li API calls that create objects or features that are available * to versions of the library greater than 1.8.x release will * fail. @@ -4915,55 +4914,52 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * \p low=#H5F_LIBVER_V18
* \p high=#H5F_LIBVER_V110 * - * \li The library will create objects with the latest format - * versions available to library release 1.8.x. - * \li The library will allow objects to be created with the latest - * format versions available to library release 1.10.x. Note - * that 1.10.11 is the last release of the 1.10 series. - * \li API calls that create objects or features that are - * available to versions of the library greater than 1.10.x - * release will fail. - * \li Earlier versions of the library may not be able to access - * objects created with this setting. + * \li The library will create objects with the latest format + * versions available to library release 1.8.x. + * \li The library will allow objects to be created with the latest + * format versions available to library release 1.10.x. + * \li API calls that create objects or features that are + * available to versions of the library greater than 1.10.x + * release will fail. + * \li Earlier versions of the library may not be able to access + * objects created with this setting. * * * \p low=#H5F_LIBVER_V18
* \p high=#H5F_LIBVER_V112 * - * \li The library will create objects with the latest format - * versions available to library release 1.8.x. - * \li The library will allow objects to be created with the latest - * format versions available to library release 1.12.x. - * \li API calls that create objects or features that are - * available to versions of the library greater than 1.12.x - * release will fail. - * \li Earlier versions of the library may not be able to access - * objects created with this setting. + * \li The library will create objects with the latest format + * versions available to library release 1.8.x. + * \li The library will allow objects to be created with the latest + * format versions available to library release 1.12.x. + * \li API calls that create objects or features that are + * available to versions of the library greater than 1.12.x + * release will fail. + * \li Earlier versions of the library may not be able to access + * objects created with this setting. * * * \p low=#H5F_LIBVER_V18
* \p high=#H5F_LIBVER_V114 * - * \li The library will create objects with the latest format - * versions available to library release 1.8.x. - * \li The library will allow objects to be created with the latest - * format versions available to library release 1.14.x. - * \li API calls that create objects or features that are - * available to versions of the library greater than 1.14.x - * release will fail. - * \li Earlier versions of the library may not be able to access - * objects created with this setting. + * \li The library will create objects with the latest format + * versions available to library release 1.8.x. + * \li The library will allow objects to be created with the latest + * format versions available to library release 1.14.x. + * \li API calls that create objects or features that are + * available to versions of the library greater than 1.14.x + * release will fail. + * \li Earlier versions of the library may not be able to access + * objects created with this setting. * * * \p low=#H5F_LIBVER_V110
- * \p high=#H5F_LIBVER_V110 - * + * \p high=#H5F_LIBVER_V110 * * \li The library will create objects with the latest format * versions available to library release 1.10.x. * \li The library will allow objects to be created with the latest - * format versions available to library release 1.10.x. Note - * that 1.10.11 is the last release of the 1.10 series. + * format versions available to library release 1.10.x. * \li The objects written with this setting may be * accessible to a smaller range of library versions than * would be the case if low is set to #H5F_LIBVER_EARLIEST. @@ -4972,50 +4968,38 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * fail. * \li Earlier versions of the library may not be able to access * objects created with this setting. - * * * * \p low=#H5F_LIBVER_V110
- * \p high=#H5F_LIBVER_V112 - * + * \p high=#H5F_LIBVER_V112 * * \li The library will create objects with the latest format * versions available to library release 1.10.x. * \li The library will allow objects to be created with the latest * format versions available to library release 1.12.x. - * \li The objects written with this setting may be - * accessible to a smaller range of library versions than - * would be the case if low is set to #H5F_LIBVER_EARLIEST. * \li API calls that create objects or features that are available * to versions of the library greater than 1.12.x release will * fail. * \li Earlier versions of the library may not be able to access * objects created with this setting. - * * * * \p low=#H5F_LIBVER_V110
- * \p high=#H5F_LIBVER_V114 - * + * \p high=#H5F_LIBVER_V114 * * \li The library will create objects with the latest format * versions available to library release 1.10.x. * \li The library will allow objects to be created with the latest * format versions available to library release 1.14.x. - * \li The objects written with this setting may be - * accessible to a smaller range of library versions than - * would be the case if low is set to #H5F_LIBVER_EARLIEST. * \li API calls that create objects or features that are available * to versions of the library greater than 1.14.x release will * fail. * \li Earlier versions of the library may not be able to access * objects created with this setting. - * * * * \p low=#H5F_LIBVER_V112
- * \p high=#H5F_LIBVER_V112 - * + * \p high=#H5F_LIBVER_V112 * * \li The library will create objects with the latest format * versions available to library release 1.12.x. @@ -5029,32 +5013,24 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * fail. * \li Earlier versions of the library may not be able to access * objects created with this setting. - * * * * \p low=#H5F_LIBVER_V112
- * \p high=#H5F_LIBVER_V114 - * + * \p high=#H5F_LIBVER_V114 * * \li The library will create objects with the latest format * versions available to library release 1.12.x. * \li The library will allow objects to be created with the latest * format versions available to library release 1.14.x. - * \li The objects written with this setting may be - * accessible to a smaller range of library versions than - * would be the case if low is set to #H5F_LIBVER_EARLIEST. * \li API calls that create objects or features that are available * to versions of the library greater than 1.14.x release will * fail. * \li Earlier versions of the library may not be able to access * objects created with this setting. - * - * * * * \p low=#H5F_LIBVER_V114
- * \p high=#H5F_LIBVER_V114 - * + * \p high=#H5F_LIBVER_V114 * * \li The library will create objects with the latest format * versions available to library release 1.14.x. @@ -5068,11 +5044,16 @@ H5_DLL herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref); * fail. * \li Earlier versions of the library may not be able to access * objects created with this setting. - * - * * * * + * \note *H5F_LIBVER_LATEST*:
+ * Since 1.14.x is also #H5F_LIBVER_LATEST, there is no upper + * limit on the format versions to use. That is, if a + * newer format version is required to support a feature + * in 1.14.x series, this setting will allow the object to be + * created. + * * \version 1.10.2 #H5F_LIBVER_V18 added to the enumerated defines in * #H5F_libver_t. * -- cgit v0.12