I found a "bug" that I am hoping is a quick fix.

If the following file:
config/cmake/H5pubconf.h.in

at line 750 is the following:

#define VERSION "@HDF5_PACKAGE_VERSION@"

The issue that I am having is a few other libraries that I am using also define 
the generic "VERSION" macro. I am wondering if we can change that to

#define H5_VERSION "@HDF5_PACKAGE_VERSION@"

There are 2 more
/* Number of bits in a file offset, on hosts where this is settable. */
#cmakedefine _FILE_OFFSET_BITS

/* Define for large files, on AIX-style hosts. */
#cmakedefine _LARGE_FILES

that are also a bit "generic" and should probably have the H5_ prefix applied 
to them also.

A quick compile on OS X seems to indicate it will compile. External libraries 
that may be looking for that #define might have issues.

Thoughts?

Thanks

On Oct 24, 2013, at 11:22 PM, Elena Pourmal <[email protected]> wrote:

> Dear HDF5 users,
> 
> New release candidate (with production mode on by default) is available from 
> ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/hdf5/hdf5-1.8.12/pre2/
> 
> If you have a spare minute please give it a try and report any problems 
> found. We really appreciate your help.
> 
> Unfortunately we were not able to address the issues related to undefined 
> compiler behavior, but we are working on them and hopefully will have a 
> solution by the next release.
> 
> Thank you!
> 
> Elena
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Elena Pourmal  The HDF Group  http://hdfgroup.org   
> 1800 So. Oak St., Suite 203, Champaign IL 61820
> 217.531.6112
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to