diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-11-05 20:30:26 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-11-05 20:30:26 (GMT) |
commit | d2e56d2486e4cf8638b19f528694c3179dc370ce (patch) | |
tree | 70b14cf61b9b90a69317f9e726ed87354d08bd9f /release_docs | |
parent | 51cf093853e2278dd890b6def1d9cf6806fcb8ae (diff) | |
download | hdf5-d2e56d2486e4cf8638b19f528694c3179dc370ce.zip hdf5-d2e56d2486e4cf8638b19f528694c3179dc370ce.tar.gz hdf5-d2e56d2486e4cf8638b19f528694c3179dc370ce.tar.bz2 |
[svn-r23013] I added Sun's 5.9 C++ compiler problem as a known problem. It doesn't know a C99 predefined identifier __func__.
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/RELEASE.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 6078dab..674e821 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -360,6 +360,25 @@ CLE hopper.nersc.gov n n n n Known Problems ============== +* 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. + + The reason is that __func__ is a predefined identifier in C99 standard. The + HDF5 C library uses it in H5private.h. The test ttypes.cpp includes + H5private.h (H5Tpkg.h<-H5Fprivate.h<-H5Vprivate.h<-H5private.h). Sun's 5.9 + C++ compiler doesn't support __func__, thus fails to compile the C++ test. + But 5.11 C++ compiler does. To check whether your Sun C++ compiler knows + this identifier, try to compile the following simple C++ program: + #include<stdio.h> + + int main(void) + { + printf("%s\n", __func__); + return 0; + } + (SLU - 2012/11/5) + * The C++ and FORTRAN bindings are not currently working on FreeBSD with the native release 8.2 compilers (4.2.1), but are working with gcc 4.6 from the ports (and probably gcc releases after that). |