summaryrefslogtreecommitdiffstats
path: root/release_docs/RELEASE.txt
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-07 16:52:32 (GMT)
committerGitHub <noreply@github.com>2024-03-07 16:52:32 (GMT)
commit30c34f927de96baf518e13a068b4564ec443bedf (patch)
tree74547ac30efd42991033fb57f7bf0a6c44315899 /release_docs/RELEASE.txt
parent2a2c683dc3f2d1accedc3dc4d8596d7988154acd (diff)
downloadhdf5-30c34f927de96baf518e13a068b4564ec443bedf.zip
hdf5-30c34f927de96baf518e13a068b4564ec443bedf.tar.gz
hdf5-30c34f927de96baf518e13a068b4564ec443bedf.tar.bz2
Add support for the new MSVC preprocessor (#4078)
Microsoft has added a new, standards-conformant preprocessor to MSVC, which can be enabled with /Zc:preprocessor. This preprocessor trips over our HDopen() function-like variadic macro since it uses a hack that only works with the legacy MSVC preprocessor. This fix adds ifdefs to use the correct HDopen() macro depending on the MSVC preprocessor selected. Fixes #2515
Diffstat (limited to 'release_docs/RELEASE.txt')
-rw-r--r--release_docs/RELEASE.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index f3de90f..9ef3f45 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -47,6 +47,21 @@ New Features
Configuration:
-------------
+ - Added support for the new MSVC preprocessor
+
+ Microsoft added support for a new, standards-conformant preprocessor
+ to MSVC, which can be enabled with the /Zc:preprocessor option. This
+ preprocessor would trip over our HDopen() variadic function-like
+ macro, which uses a feature that only works with the legacy preprocessor.
+
+ ifdefs have been added that select the correct HDopen() form and
+ allow building HDF5 with the /Zc:preprocessor option.
+
+ The HDopen() macro is located in an internal header file and only
+ affects building the HDF5 library from source.
+
+ Fixes GitHub #2515
+
- Renamed HDF5_ENABLE_USING_MEMCHECKER to HDF5_USING_ANALYSIS_TOOL
The HDF5_USING_ANALYSIS_TOOL is used to indicate to test macros that