diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-05-12 04:16:10 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-05-12 04:16:10 (GMT) |
commit | db31594e6824688b03963fa092761b02d9179296 (patch) | |
tree | 1dcb5d9be50c912436a8cbc67b878e3b4b352615 /config/linux-gnu | |
parent | f857bb3d755e753409319c9b9ffa02c4bdc316b4 (diff) | |
download | hdf5-db31594e6824688b03963fa092761b02d9179296.zip hdf5-db31594e6824688b03963fa092761b02d9179296.tar.gz hdf5-db31594e6824688b03963fa092761b02d9179296.tar.bz2 |
[svn-r12344] Purpose:
Bug fix.
Description:
C++ testhdf5 failed when it tried to inspect the size of a file
via the HDstat call. The reason was that the CFLAGS has -D_LARGE_FILES
hardset in it while the CXXFLAGS does not. So, C is using an off_t
that is 8 bytes while C++ is using off_t as 4 bytes. C is using
a version of 64bits stat/off_t/etc while C++ uses the 32 bits version.
Thus a failure.
Solution:
Added -D_LARGE_FILES to $CXXFLAGES so that both C and C++ are using
the same version of stat/off_t/etc.
Platforms tested:
Tested in Copper only, both 32 and 64 bits since the changes affected
the AIX platform only.
Diffstat (limited to 'config/linux-gnu')
0 files changed, 0 insertions, 0 deletions