summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-09-18 19:58:32 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-09-18 19:58:32 (GMT)
commitdab3f0ad0150fa448909ee3317517ddc17ecdf3c (patch)
tree6fc9666da5473f8b324e445dea15564bae5f6a1c /test/ttsafe_error.c
parent45519075e4bc3ec1a0b3c1cbbe8edf26b976ae2b (diff)
downloadhdf5-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.
Diffstat (limited to 'test/ttsafe_error.c')
0 files changed, 0 insertions, 0 deletions