diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2008-09-18 20:54:36 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2008-09-18 20:54:36 (GMT) |
commit | 8436735388f192ecc19b76ac043117a3d883fa14 (patch) | |
tree | 135291f3dcf477f2aedce7a88f45cea2f9474e3a /src/H5config.h.in | |
parent | 6ddb6ed83f9a662559b83bb672244818177ebe0d (diff) | |
download | hdf5-8436735388f192ecc19b76ac043117a3d883fa14.zip hdf5-8436735388f192ecc19b76ac043117a3d883fa14.tar.gz hdf5-8436735388f192ecc19b76ac043117a3d883fa14.tar.bz2 |
[svn-r15657] Purpose: fix bug 1286
Description: Added configure test to see if pointer alignment restrictions are enforced (as in dereferencing an unaligned pointer causes an error). Added code in H5Tvlen.c to avoid dereferencing unaligned pointers, conditionally compiled based on the configure test. Added test case in dtypes.c which would previously cause such machines to fail.
Tested: kagiso, smirom, linew (h5committest); linew64
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r-- | src/H5config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 429b613..7ef4b29 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -433,6 +433,9 @@ /* Define if your system can handle special collective IO properly. */ #undef MPI_SPECIAL_COLLECTIVE_IO_WORKS +/* Define if we can violate pointer alignment restrictions */ +#undef NO_ALIGNMENT_RESTRICTIONS + /* Define if deprecated public API symbols are disabled */ #undef NO_DEPRECATED_SYMBOLS |