diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-11-05 20:29:31 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-11-05 20:29:31 (GMT) |
commit | c5d62ca899fcd376f74dc4dc332f7a8cb73d382f (patch) | |
tree | 16c26f28f561e89abeed448afdc035c1057d3771 /release_docs | |
parent | 308171a2ef42bf4286845e151ccad5b6a96d46b6 (diff) | |
download | hdf5-c5d62ca899fcd376f74dc4dc332f7a8cb73d382f.zip hdf5-c5d62ca899fcd376f74dc4dc332f7a8cb73d382f.tar.gz hdf5-c5d62ca899fcd376f74dc4dc332f7a8cb73d382f.tar.bz2 |
[svn-r23012] 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 13889de..0ca2c31 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -1193,6 +1193,25 @@ SuSe Linux 2.6.5 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). |