diff options
Diffstat (limited to 'hl/c++')
-rw-r--r-- | hl/c++/examples/ptExampleVL.cpp | 2 | ||||
-rw-r--r-- | hl/c++/src/H5PacketTable.h | 2 | ||||
-rw-r--r-- | hl/c++/test/ptableTest.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/hl/c++/examples/ptExampleVL.cpp b/hl/c++/examples/ptExampleVL.cpp index 1b41bfb..32eeb43 100644 --- a/hl/c++/examples/ptExampleVL.cpp +++ b/hl/c++/examples/ptExampleVL.cpp @@ -25,6 +25,7 @@ int main(void) { +#ifdef VLPT_REMOVED herr_t err; /* Return value from function calls */ hid_t fileID; /* HDF5 identifier for file */ hsize_t count; /* Number of records in table */ @@ -104,6 +105,7 @@ int main(void) if( err < 0 ) fprintf(stderr, "Failed to close file.\n"); +#endif /* VLPT_REMOVED */ return 0; } diff --git a/hl/c++/src/H5PacketTable.h b/hl/c++/src/H5PacketTable.h index 5b4beec..ee45143 100644 --- a/hl/c++/src/H5PacketTable.h +++ b/hl/c++/src/H5PacketTable.h @@ -162,6 +162,7 @@ public: int GetNextPackets(size_t numPackets, void * data); }; +#ifdef VLPT_REMOVED class H5_HLCPPDLL VL_PacketTable : virtual public PacketTable { public: @@ -235,5 +236,6 @@ public: */ int FreeReadbuff(size_t numStructs, hvl_t * buffer); }; +#endif /* VLPT_REMOVED */ #endif /* H5PTWRAP_H */ diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp index d25c2ba..41f647d 100644 --- a/hl/c++/test/ptableTest.cpp +++ b/hl/c++/test/ptableTest.cpp @@ -49,7 +49,9 @@ int main(void) num_errors += SystemTest(); +#ifdef VLPT_REMOVED num_errors += VariableLengthTest(); +#endif /* VLPT_REMOVED */ /* Terminate access to the file. */ err = H5Fclose(fileID); |