diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-10-20 19:42:31 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-10-20 19:42:31 (GMT) |
commit | fd6545ba5c0a94e6e850510836c312f6a73da673 (patch) | |
tree | c6c2e4f0780abe1216ad35e06aca654b2090aabc /examples/testh5cc.sh.in | |
parent | 2ba5f82790f05bd4259b3f4301e16e508b1018f9 (diff) | |
download | hdf5-fd6545ba5c0a94e6e850510836c312f6a73da673.zip hdf5-fd6545ba5c0a94e6e850510836c312f6a73da673.tar.gz hdf5-fd6545ba5c0a94e6e850510836c312f6a73da673.tar.bz2 |
[svn-r17693] Removed the erroneous test of using v16 API.
The error started out as an erroneous test of using v16 API via
source code. (See bug 1264). It was implemented as:
#include "hdf5.h"
#define H5_USE_16_API
That was incorrect and generated warnings in Linux but error in AIX
for redefining macro H5_USE_16_API.
I corrected it yesterday to pass AIX by moving H5_USE_16_API up as:
#define H5_USE_16_API
#include "hdf5.h"
This is the proper way to turn on v16API and it passes all normal
tests. I knew it would not work if somehow v16API is disabled
but hoping it can be fixed later. Well, it broke last night
under --disable-deprecated-symbols.
Removed the #define H5_USE_16_API and let Raymond fix it after
the release.
Diffstat (limited to 'examples/testh5cc.sh.in')
-rwxr-xr-x | examples/testh5cc.sh.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in index 48a745c..119d86a 100755 --- a/examples/testh5cc.sh.in +++ b/examples/testh5cc.sh.in @@ -117,7 +117,6 @@ EOF # Generate HDF5 Main Program: # An HDF5 sample program that calls hdf5 functions. cat > $hdf5main <<EOF -#define H5_USE_16_API #include "hdf5.h" #define H5FILE_NAME "tmp.h5" int |