Mercurial > hg > octave-nkf
diff libinterp/octave-value/ov-base-int.cc @ 20084:2f2220bfd379
ov-base-int.cc, ov-float.cc: Fix build without HDF5
* ov-base-int.cc Without this, gcc 4.7 shows:
"error: 'gripe_save' was not declared in this scope,
and no declarations were found by argument-dependent lookup
at the point of instantiation [-fpermissive]
note: declarations in dependent base 'octave_base_value'
are not found by unqualified lookup. Use 'this->gripe_save' instead"
* ov-float.cc: Move retval outside ifdef HAVE_HDF5 block
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Sat, 28 Feb 2015 10:34:25 +0100 |
parents | 09ed6f7538dd |
children | b2100e1659ac |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base-int.cc +++ b/libinterp/octave-value/ov-base-int.cc @@ -380,7 +380,7 @@ H5Sclose (space_hid); #else - gripe_save ("hdf5"); + this->gripe_save ("hdf5"); #endif return retval; @@ -449,7 +449,7 @@ H5Dclose (data_hid); #else - gripe_load ("hdf5"); + this->gripe_load ("hdf5"); #endif return retval; @@ -589,7 +589,7 @@ H5Sclose (space_hid); #else - gripe_save ("hdf5"); + this->gripe_save ("hdf5"); #endif return retval; @@ -632,7 +632,7 @@ return true; #else - gripe_load ("hdf5"); + this->gripe_load ("hdf5"); return false; #endif }