On Sat, Dec 18, 2010 at 3:07 PM, Juan Casero
<address@hidden> wrote:
Hi -
I am trying to compile gnu ocatve 3.2.4 downloaded from sources at octave.org on Solaris 10 update 9 on sparc using the solaris studio 12.2 compilers. I get an error a long way into the compilation that reads...
CC -c -I/opt/csw/include -KPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -g -D_REENTRANT ov-base.cc -o pic/ov-base.o
"ov-builtin.h", line 89: Warning: octave_builtin::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-base-mat.h", line 159: Warning: octave_base_matrix<Cell>::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-cell.h", line 50: Where: While specializing "octave_base_matrix<Cell>".
"ov-cell.h", line 50: Where: Specialized in non-template code.
"ov-base-mat.h", line 159: Warning: octave_base_matrix<Cell>::assign hides the virtual function octave_base_value::assign(const std::string &, const octave_value&).
"ov-cell.h", line 50: Where: While specializing "octave_base_matrix<Cell>".
"ov-cell.h", line 50: Where: Specialized in non-template code.
"ov-base-mat.h", line 159: Warning: octave_base_matrix<charNDArray>::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-ch-mat.h", line 51: Where: While specializing "octave_base_matrix<charNDArray>".
"ov-ch-mat.h", line 51: Where: Specialized in non-template code.
"ov-base-mat.h", line 159: Warning: octave_base_matrix<charNDArray>::assign hides the virtual function octave_base_value::assign(const std::string &, const octave_value&).
"ov-ch-mat.h", line 51: Where: While specializing "octave_base_matrix<charNDArray>".
"ov-ch-mat.h", line 51: Where: Specialized in non-template code.
"ov-base-mat.h", line 159: Warning: octave_base_matrix<ComplexNDArray>::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-cx-mat.h", line 54: Where: While specializing "octave_base_matrix<ComplexNDArray>".
"ov-cx-mat.h", line 54: Where: Specialized in non-template code.
"ov-base-mat.h", line 159: Warning: octave_base_matrix<ComplexNDArray>::assign hides the virtual function octave_base_value::assign(const std::string &, const octave_value&).
"ov-cx-mat.h", line 54: Where: While specializing "octave_base_matrix<ComplexNDArray>".
"ov-cx-mat.h", line 54: Where: Specialized in non-template code.
"ov-base-scalar.h", line 146: Warning: octave_base_scalar<std::complex<double>>::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-complex.h", line 53: Where: While specializing "octave_base_scalar<std::complex<double>>".
"ov-complex.h", line 53: Where: Specialized in non-template code.
"ov-list.h", line 127: Warning: octave_list::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-list.h", line 127: Warning: octave_list::assign hides the virtual function octave_base_value::assign(const std::string &, const octave_value&).
"ov-base-mat.h", line 159: Warning: octave_base_matrix<NDArray>::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-re-mat.h", line 54: Where: While specializing "octave_base_matrix<NDArray>".
"ov-re-mat.h", line 54: Where: Specialized in non-template code.
"ov-base-mat.h", line 159: Warning: octave_base_matrix<NDArray>::assign hides the virtual function octave_base_value::assign(const std::string &, const octave_value&).
"ov-re-mat.h", line 54: Where: While specializing "octave_base_matrix<NDArray>".
"ov-re-mat.h", line 54: Where: Specialized in non-template code.
"ov-range.h", line 341: Warning: octave_range::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-base-scalar.h", line 146: Warning: octave_base_scalar<double>::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-scalar.h", line 55: Where: While specializing "octave_base_scalar<double>".
"ov-scalar.h", line 55: Where: Specialized in non-template code.
"ov-fcn-handle.h", line 131: Warning: octave_fcn_handle::subsref hides the virtual function octave_base_value::subsref(const std::string &, const std::list<octave_value_list>&, bool).
"ov-base-mat.cc", line 156: Error: Cannot use idx_vector to initialize const octave_value_list.
Where: While instantiating "octave_base_matrix<Cell>::do_index_op(const octave_value_list&, bool)".
Where: Instantiated from non-template code.
"ov-base-mat.cc", line 176: Error: Cannot use idx_vector to initialize const octave_value_list.
Where: While instantiating "octave_base_matrix<Cell>::do_index_op(const octave_value_list&, bool)".
Where: Instantiated from non-template code.
"ov-base-mat.cc", line 176: Error: Too many arguments in call to "Cell::index(const octave_value_list&, bool) const".
Where: While instantiating "octave_base_matrix<Cell>::do_index_op(const octave_value_list&, bool)".
Where: Instantiated from non-template code.
"ov-base-mat.cc", line 214: Error: Cannot use Array<idx_vector> to initialize const octave_value_list.
Where: While instantiating "octave_base_matrix<Cell>::do_index_op(const octave_value_list&, bool)".
Where: Instantiated from non-template code.
4 Error(s) and 15 Warning(s) detected.
gmake[2]: *** [pic/ov-base.o] Error 2
gmake[2]: Leaving directory `/home/juan/Downloads/octave-3.2.4/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/home/juan/Downloads/octave-3.2.4'
gmake: *** [all] Error 2
Anyone seen this before?
Thanks,
Juan