• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • Projects
  • Repositories
    • View all public repositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
David Young
  1. David Young

vchoi_fork

Vailin Choi
my_hdf5_fork
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Graphs
  • Branches
  • Network
  • Latest Activities

Commits

MuQun Yang
45519075e4b
MuQun Yang committed dab3f0ad01518 Sep 2001
[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.

Changed files

  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v4.4.1
  • Documentation
  • Contact Support
  • Request a feature
  • About
  • Contact Atlassian
Atlassian