• 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
fc5a04a8728
MuQun Yang committed a3c2612242c12 Aug 2003
[svn-r7350] Purpose:
Add a macro "elif" for the defination of haddr_t on windows.


Description:
There are no H5_SIZEOF_LONG_LONG for windows; instead H5_SIZEOF____int64 is used.
So for the following macro ifdef-block:

#if H5_SIZEOF_HADDR_T ==H5_SIZEOF_INT                                                                  #   define H5_PRINTF_HADDR_FMT  "%u"                                                                   #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG                                                               #   define H5_PRINTF_HADDR_FMT  "%lu"                                                                  #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG_LONG                                                          #   define H5_PRINTF_HADDR_FMT  "%"H5_PRINTF_LL_WIDTH"u"                                               #else                                                                                                  #   error "nothing appropriate for H5_PRINTF_HADDR_FMT"                                                #endif


The error will be generated.
Solution:
Add another "elif H5_SIZEOF_HADDR_T==H5_SIZEOF___INT64" after the last "elif" above so that it
can generate the correct result on windows.

Platforms tested:
Since the change is so small, only test on windows and linux.

Misc. update:

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