diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2001-09-18 19:58:32 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2001-09-18 19:58:32 (GMT) |
commit | dab3f0ad0150fa448909ee3317517ddc17ecdf3c (patch) | |
tree | 6fc9666da5473f8b324e445dea15564bae5f6a1c | |
parent | 45519075e4bc3ec1a0b3c1cbbe8edf26b976ae2b (diff) | |
download | hdf5-dab3f0ad0150fa448909ee3317517ddc17ecdf3c.zip hdf5-dab3f0ad0150fa448909ee3317517ddc17ecdf3c.tar.gz hdf5-dab3f0ad0150fa448909ee3317517ddc17ecdf3c.tar.bz2 |
[svn-r4462]
Purpose:
1. rearrange project settings to be consistent with UNIX platforms
2. fix bugs on H5Tinit.c and h5pubconf.h windows version.
Description:
1. overhead, iopipe and chunk testings are moved to perform directory on UNIX platforms
rearrange windows project settings to reflect the changes
2. H5_HAVE_SYS_TIMEB_H is defined in h5pubconf.h, it is only used in the iopipe test.
In iopipe.c, H5_HAVE_SYS_TIMEB is used to get the current time before opening HDF5 file.
This constant is never defined at h5pubconf.h. So iopipe test failed on windows.
3. intn is still used in windows version H5Tinit.c.
4. redefine H5_inline at h5pubconf.h. That will generate warnings like:
..\..\src\H5private.h(150) : warning C4005: 'H5_inline' : macro redefinition ..\..\src\h5pubconf.h(8) : see previous definition of 'H5_inline'
Solution:
1. Rearrange chunk.c,iopipe.c and overhead.c files in project setting.
2. In order not to affect other platform(linux also defines H5_HAVE_SYS_TIMEB_H).
in windows version h5pubconf.h change H5_HAVE_SYS_TIMEB_H into H5_HAVE_SYS_TIMEB.
Now H5_HAVE_SYS_TIMEB is only used by windows platform, iopipe test runs okay.
3. change intn into int.
4. undefine H5_inline on windows version of h5pubconf.h
Platforms tested:
windows 2000(NT5.0) and windows 98.
-rwxr-xr-x | windows/all.zip | bin | 290306 -> 289867 bytes |
-rwxr-xr-x | windows/all_withf90.zip | bin | 214958 -> 214418 bytes |
-rw-r--r-- | windows/all_withhdf4.zip | bin | 218986 -> 218446 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/windows/all.zip b/windows/all.zip Binary files differindex a9bf0c6..358d6c4 100755 --- a/windows/all.zip +++ b/windows/all.zip diff --git a/windows/all_withf90.zip b/windows/all_withf90.zip Binary files differindex 71f8c9b..ef9d88b 100755 --- a/windows/all_withf90.zip +++ b/windows/all_withf90.zip diff --git a/windows/all_withhdf4.zip b/windows/all_withhdf4.zip Binary files differindex b06b701..c267016 100644 --- a/windows/all_withhdf4.zip +++ b/windows/all_withhdf4.zip |