From 28574d0bc7dcae0cfff5f99fb1e0689b2ecfd1ed Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Wed, 16 Oct 2013 16:38:56 -0500 Subject: [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. --- release_docs/RELEASE.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v0.12