diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2008-04-30 19:23:26 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2008-04-30 19:23:26 (GMT) |
commit | 5773fd34bc5adf59b4530d95ac9f0c0585902803 (patch) | |
tree | 456ad239799382e1f083fb7fc74399e43b471912 /c++/test | |
parent | 0138995d1ce2068db1f790503435a2121132d3ad (diff) | |
download | hdf5-5773fd34bc5adf59b4530d95ac9f0c0585902803.zip hdf5-5773fd34bc5adf59b4530d95ac9f0c0585902803.tar.gz hdf5-5773fd34bc5adf59b4530d95ac9f0c0585902803.tar.bz2 |
[svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added.
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/ttypes.cpp | 5 | ||||
-rw-r--r-- | c++/test/tvlstr.cpp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp index 557f400..ac468c4 100644 --- a/c++/test/ttypes.cpp +++ b/c++/test/ttypes.cpp @@ -144,6 +144,8 @@ static void test_classes() */ static void test_copy() { + hid_t a_copy; + herr_t status; SUBTEST("DataType::copy() and DataType::operator="); try { @@ -211,6 +213,7 @@ static void test_query() long c; double d; } s_type_t; + char filename[1024]; short enum_val; // Output message about test being performed @@ -385,9 +388,11 @@ 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]; + char filename[1024]; SUBTEST("Named datatypes"); try { diff --git a/c++/test/tvlstr.cpp b/c++/test/tvlstr.cpp index 007ab10..469e861 100644 --- a/c++/test/tvlstr.cpp +++ b/c++/test/tvlstr.cpp @@ -527,6 +527,7 @@ static void test_compact_vlstring() *------------------------------------------------------------------------- */ // String for testing attributes +static const char *string_att = "This is the string for the attribute"; static char *string_att_write=NULL; // Info for a string attribute |