summaryrefslogtreecommitdiffstats
path: root/c++/test/ttypes.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2013-03-29 04:03:20 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2013-03-29 04:03:20 (GMT)
commit8461df0911aecf6665b4a19d4a66e4d11bc31e3c (patch)
tree7c732c6dd13fbb1b64c57b2753459760d2f7191e /c++/test/ttypes.cpp
parent54319cf88d1fece145a47960452ace57f3487f8f (diff)
downloadhdf5-8461df0911aecf6665b4a19d4a66e4d11bc31e3c.zip
hdf5-8461df0911aecf6665b4a19d4a66e4d11bc31e3c.tar.gz
hdf5-8461df0911aecf6665b4a19d4a66e4d11bc31e3c.tar.bz2
[svn-r23485] Purpose: Fix bug HDFFV-8067
Description: Applied the fix for HDFFV-8067 and the minor cleanups from the trunk. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers Linux/64 2.6 (koala) with ICC compilers SunOS 5.10 (emu)
Diffstat (limited to 'c++/test/ttypes.cpp')
-rw-r--r--c++/test/ttypes.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp
index d97a1ec..6950523 100644
--- a/c++/test/ttypes.cpp
+++ b/c++/test/ttypes.cpp
@@ -52,6 +52,7 @@
* normally require alignment. When set, all native datatypes must be aligned
* on a byte boundary equal to the data size.
*/
+#if 0
#define TEST_ALIGNMENT
/* Alignment test stuff */
@@ -61,6 +62,7 @@
#endif
#define SET_ALIGNMENT(TYPE,VAL) \
H5T_NATIVE_##TYPE##_ALIGN_g=MAX(H5T_NATIVE_##TYPE##_ALIGN_g, VAL)
+#endif
const char *FILENAME[] = {
"dtypes1.h5",
@@ -143,9 +145,6 @@ static void test_classes()
*/
static void test_copy()
{
- hid_t a_copy;
- herr_t status;
-
SUBTEST("DataType::copy() and DataType::operator=");
try {
// Test copying from a predefined datatype using DataType::operator=
@@ -212,7 +211,6 @@ static void test_query()
long c;
double d;
} s_type_t;
- char filename[1024];
short enum_val;
// Output message about test being performed
@@ -387,7 +385,6 @@ static void test_transient ()
const H5std_string filename2("dtypes2.h5");
static void test_named ()
{
- herr_t status;
static hsize_t ds_size[2] = {10, 20};
hsize_t i;
unsigned attr_data[10][20];