Mercurial > octave
changeset 28591:c83e0c850386
* ov-magic-int.cc: Allow compilation to succeed if HDF5 is not available.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 21 Jul 2020 17:05:15 -0400 |
parents | 5b1143d1d74b |
children | e70c859c4bff |
files | libinterp/octave-value/ov-magic-int.cc |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-magic-int.cc Tue Jul 21 15:00:00 2020 -0400 +++ b/libinterp/octave-value/ov-magic-int.cc Tue Jul 21 17:05:15 2020 -0400 @@ -257,10 +257,13 @@ return tmp.save_hdf5 (loc_id, name, save_as_floats); #else + octave_unused_parameter (loc_id); octave_unused_parameter (name); + octave_unused_parameter (save_as_floats); - warn_save ("hdf5"); + octave_base_value::warn_save ("hdf5"); + #endif return retval; @@ -278,9 +281,10 @@ #else - warn_load ("hdf5"); + octave_base_value::warn_load ("hdf5"); return false; + #endif }