summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-03-04 16:04:41 (GMT)
committerGitHub <noreply@github.com>2021-03-04 16:04:41 (GMT)
commitfb210fc4fd70ce68b95a08f91eee2580552b6d21 (patch)
tree479fc17cdeef90c415fb446236014421f871de2c /release_docs
parentfab95ce7b309e3cb43cc9dc25c08da986f5d0e58 (diff)
downloadhdf5-fb210fc4fd70ce68b95a08f91eee2580552b6d21.zip
hdf5-fb210fc4fd70ce68b95a08f91eee2580552b6d21.tar.gz
hdf5-fb210fc4fd70ce68b95a08f91eee2580552b6d21.tar.bz2
Use do-while trick to force H5Epush_ret() to require trailing semi (#380)
* Use do-while trick to force H5Epush_ret() to require trailing semi Fixed ensuing compiler errors. * Commit format changes from running clang-format with clang version 10.0.1. * Use do-while trick to force H5Epush_ret() to require trailing semi Fixed ensuing compiler errors. Updated RELEASE.txt. This change was made to allow clang-format to correctly format the code. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/RELEASE.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index c5efb6f..95ff9c5 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -384,6 +384,16 @@ New Features
Library:
--------
+ - H5Epush_ret() now requires a trailing semi-colon
+
+ H5Epush_ret() is a function-like macro that has been changed to
+ contain a `do {} while(0)` loop. Consequently, a trailing semi-colon
+ is now required to end the `while` statement. Previously, a trailing
+ semi would work, but was not mandatory. This change was made to allow
+ clang-format to correctly format the source code.
+
+ (SAM - 2021/03-03)
+
- Improved performance of H5Sget_select_elem_pointlist
Modified library to cache the point after the last block of points