summaryrefslogtreecommitdiffstats
path: root/release_docs/RELEASE.txt
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-02-22 11:39:08 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-02-22 11:39:08 (GMT)
commit85a644221848b047a46bdcff5f3371d690a2f55a (patch)
tree05b3bec8882e5dc6896d641b1edb6d08bca41875 /release_docs/RELEASE.txt
parent0ecf47141483e63a02f8b2f3b9d9c790a3ff4b63 (diff)
downloadhdf5-85a644221848b047a46bdcff5f3371d690a2f55a.zip
hdf5-85a644221848b047a46bdcff5f3371d690a2f55a.tar.gz
hdf5-85a644221848b047a46bdcff5f3371d690a2f55a.tar.bz2
[svn-r26273] Fixes compile failures when building on Windows when UNICODE is defined.
This was due to wrapping a variable with the TEXT() macro and not forcing the <function>A form of certain Win32 API calls are always used. Although we do not defined UNICODE in our builds, others have encountered problems when building HDF5 as a part of a larger project where UNICODE is defined. Fix for: HDFFV-8927 Tested on: 64-bit Windows 7, Visual Studio 2012, CMake 3.2 All combinations of static/shared and UNICODE defined/undefined NOTE: plugin tests are skipped with static builds
Diffstat (limited to 'release_docs/RELEASE.txt')
-rw-r--r--release_docs/RELEASE.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 879ec2d..08f1397 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -154,6 +154,29 @@ Bug Fixes since HDF5-1.8.14
transform the list to a series of -D{value} for the compile.
(ADB - 2014/12/09, HDFV-9041)
+
+ - Fixed compile errors on Windows w/ Visual Studio and CMake when
+ UNICODE is defined.
+
+ The HDF5 library could not be built on Windows with Visual Studio when
+ UNICODE was defined. This was due to incorrect use of the TEXT() macro
+ and some Win32 API functions that take TCHAR parameters. The faulty
+ code was a part of the filter plugin functionality. This was a
+ compile-time error that only affected users who build HDF5 from source
+ and define UNICODE, usually when HDF5 is being built as a part of a
+ larger product. There were no run-time effects.
+
+ These errors caused no problems when UNICODE was not defined. HDF5 is
+ normally not built with UNICODE defined and the binaries were
+ unaffected.
+
+ The fix was to remove the TEXT() macro and explicitly use the
+ 'A' form of the Win32 API calls, which expect char strings instead of
+ wchar_t strings.
+
+ Note that HDF5 currently does not support Unicode file paths on Windows.
+
+ (DER - 2015/02/22, HDFFV-8927)
Parallel Library
----------------