comparison libinterp/octave-value/ov-int16.cc @ 20292:d54aa96abadf stable

Fix load/save of integers with -hdf5 (bug #45225) * oct-hdf5.h: Do not #define HDF5_SAVE_TYPE. * ov-int16.cc, ov-int32.cc, ov-int64.cc, ov-int8.cc, ov-uint16.cc, ov-uint32.cc, ov-uint64.cc, ov-uint8.cc: Restore correct definition of HDF5_SAVE_TYPE for each distinct integer type. * io.tst: Add %!test for load/save of integers with -hdf5.
author Mike Miller <mtmiller@octave.org>
date Wed, 10 Jun 2015 09:26:14 -0400
parents 09ed6f7538dd
children c6224b4e7774
comparison
equal deleted inserted replaced
20291:7ab81a9fa065 20292:d54aa96abadf
37 #include "oct-obj.h" 37 #include "oct-obj.h"
38 #include "oct-lvalue.h" 38 #include "oct-lvalue.h"
39 #include "oct-hdf5.h" 39 #include "oct-hdf5.h"
40 #include "ops.h" 40 #include "ops.h"
41 #include "ov-base.h" 41 #include "ov-base.h"
42
43 #if defined (HAVE_HDF5)
44 #define HDF5_SAVE_TYPE H5T_NATIVE_INT16
45 #endif
42 46
43 #include "ov-base-int.h" 47 #include "ov-base-int.h"
44 #include "ov-base-int.cc" 48 #include "ov-base-int.cc"
45 #include "ov-int16.h" 49 #include "ov-int16.h"
46 #include "ov-type-conv.h" 50 #include "ov-type-conv.h"