summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-10-16 21:38:56 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-10-16 21:38:56 (GMT)
commit28574d0bc7dcae0cfff5f99fb1e0689b2ecfd1ed (patch)
tree4532dfeaa95d2490075d2f206bed9a6fd7698776
parent370e6f3f56bafa13c19eaa292a16929a8b918120 (diff)
downloadhdf5-28574d0bc7dcae0cfff5f99fb1e0689b2ecfd1ed.zip
hdf5-28574d0bc7dcae0cfff5f99fb1e0689b2ecfd1ed.tar.gz
hdf5-28574d0bc7dcae0cfff5f99fb1e0689b2ecfd1ed.tar.bz2
[svn-r24307] Issue 8147: CLANG compiler with the options -fcatch-undefined-behavior and -ftrapv
catches some defined behavior in the alignment algorithm of the macro DETECT_I in H5detect.c. I documented it as a known problem. No test is needed.
-rw-r--r--release_docs/RELEASE.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 7140585..f5a87e5 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -1330,6 +1330,13 @@ The following platforms are not supported but have been tested for this release.
Known Problems
==============
+* CLANG compiler with the options -fcatch-undefined-behavior and -ftrapv
+ catches some defined behavior in the alignment algorithm of the macro DETECT_I
+ in H5detect.c (Issue 8147). Since the algorithm is trying to detect the alignment
+ of integers, ideally the flag -fcatch-undefined-behavior shouldn't to be used for
+ H5detect.c. In the future, we can separate flags for H5detect.c from the rest of
+ the library. (SLU - 2013/10/16)
+
* The 5.9 C++ compiler on Sun failed to compile a C++ test ttypes.cpp. It
complains with this message:
"/home/hdf5/src/H5Vprivate.h", line 130: Error: __func__ is not defined.