diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-23 19:32:29 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-04-27 18:00:36 (GMT) |
commit | c71ef43b4d50827857cf2983de7fdf581381d178 (patch) | |
tree | be609432db9a8bcb7582e40823d5c47ec0e67ce1 /c++/test | |
parent | fbaab5882814c4fd5d86aa3d1eb05e893c1ce70a (diff) | |
download | hdf5-c71ef43b4d50827857cf2983de7fdf581381d178.zip hdf5-c71ef43b4d50827857cf2983de7fdf581381d178.tar.gz hdf5-c71ef43b4d50827857cf2983de7fdf581381d178.tar.bz2 |
TRILAB-244 separate CXX warnings and errors from C
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/tarray.cpp | 1 | ||||
-rw-r--r-- | c++/test/tobject.cpp | 3 | ||||
-rw-r--r-- | c++/test/ttypes.cpp | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/c++/test/tarray.cpp b/c++/test/tarray.cpp index 218e4e5..0af2c4f 100644 --- a/c++/test/tarray.cpp +++ b/c++/test/tarray.cpp @@ -370,7 +370,6 @@ static void test_array_info() float f[ARRAY1_DIM1]; } s1_t; s1_t wdata[SPACE1_DIM1][ARRAY1_DIM1]; // Information to write - s1_t rdata[SPACE1_DIM1][ARRAY1_DIM1]; // Information read in hsize_t sdims1[] = {SPACE1_DIM1}; hsize_t tdims1[] = {ARRAY1_DIM1}; int nmemb; // Number of compound members diff --git a/c++/test/tobject.cpp b/c++/test/tobject.cpp index 095fe6a..5d2f15f 100644 --- a/c++/test/tobject.cpp +++ b/c++/test/tobject.cpp @@ -325,7 +325,6 @@ const H5std_string DSETNAME("dataset"); static void test_open_object_header() { hsize_t dims[2]; - H5G_info_t ginfo; /* Group info struct */ // Output message about test being performed SUBTEST("H5Location::openObjId and H5Location::closeObjId"); @@ -383,6 +382,7 @@ static void test_open_object_header() dset.setId(obj_dset); dspace = dset.getSpace(); bool is_simple = dspace.isSimple(); + verify_val(is_simple, true, "isSimple", __LINE__, __FILE__); dspace.close(); // Open datatype object from the group @@ -439,7 +439,6 @@ static void test_open_object_header() /*------------------------------------------------------------------------- * Function: test_is_valid * - * Purpose: Tests validating IDs. * * Return: Success: 0 * Failure: -1 diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp index a706197..161b1c4 100644 --- a/c++/test/ttypes.cpp +++ b/c++/test/ttypes.cpp @@ -735,8 +735,8 @@ static void test_encode_decode() FloatType decoded_flttyp(decoded_flt_ptr->getId()); verify_val(flttyp == decoded_flttyp, true, "DataType::decode", __LINE__, __FILE__); - H5std_string norm_string; - H5T_norm_t mant_norm = decoded_flttyp.getNorm(norm_string); + //H5std_string norm_string; + //H5T_norm_t mant_norm = decoded_flttyp.getNorm(norm_string); //verify_val(decoded_flttyp.isVariableStr(), true, "DataType::decode", __LINE__, __FILE__); delete decoded_flt_ptr; |