From dab3f0ad0150fa448909ee3317517ddc17ecdf3c Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Tue, 18 Sep 2001 14:58:32 -0500 Subject: [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. --- windows/all.zip | Bin 290306 -> 289867 bytes windows/all_withf90.zip | Bin 214958 -> 214418 bytes 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 index a9bf0c6..358d6c4 100755 Binary files a/windows/all.zip and b/windows/all.zip differ diff --git a/windows/all_withf90.zip b/windows/all_withf90.zip index 71f8c9b..ef9d88b 100755 Binary files a/windows/all_withf90.zip and b/windows/all_withf90.zip differ diff --git a/windows/all_withhdf4.zip b/windows/all_withhdf4.zip index b06b701..c267016 100644 Binary files a/windows/all_withhdf4.zip and b/windows/all_withhdf4.zip differ -- cgit v0.12