From bug-octave-request at che dot utexas dot edu Wed Nov 23 19:58:11 1994 Subject: compile error on SunOS 4.1.3 system From: ric at updike dot sri dot com (Richard Steinberger) To: bug-octave at che dot utexas dot edu Date: Wed, 23 Nov 94 17:58:07 PST I am using gcc-2.6.2 and libg++ 2.6.0 on a SunOS 4.1.3 system. In compiling octave 1.0, the following happens: f-hess.cc: In function `class tree_constant * hess(const class tree_constant *, int, int)': f-hess.cc:132: call of overloaded constructor `tree_constant(int)' is ambiguous tree-const.h:589: candidates are: tree_constant::tree_constant(tree_constant_rep &) tree-const.h:587: tree_constant::tree_constant(const tree_constant &) tree-const.h:565: tree_constant::tree_constant(const ComplexDiagMatrix &) tree-const.h:571: tree_constant::tree_constant(const ComplexColumnVector &) tree-const.h:567: tree_constant::tree_constant(const ComplexRowVector &) tree-const.h:556: tree_constant::tree_constant(const ColumnVector &) tree-const.h:561: tree_constant::tree_constant(const Complex &) tree-const.h:552: tree_constant::tree_constant(const RowVector &) tree-const.h:550: tree_constant::tree_constant(const DiagMatrix &) tree-const.h:584: tree_constant::tree_constant(tree_constant_rep::constant_type) tree-const.h:546: tree_constant::tree_constant(double) f-hess.cc:132: in conversion to type `tree_constant' f-hess.cc:148: call of overloaded constructor `tree_constant(int)' is ambiguous tree-const.h:589: candidates are: tree_constant::tree_constant(tree_constant_rep &) tree-const.h:587: tree_constant::tree_constant(const tree_constant &) tree-const.h:565: tree_constant::tree_constant(const ComplexDiagMatrix &) tree-const.h:571: tree_constant::tree_constant(const ComplexColumnVector &) tree-const.h:567: tree_constant::tree_constant(const ComplexRowVector &) tree-const.h:556: tree_constant::tree_constant(const ColumnVector &) tree-const.h:561: tree_constant::tree_constant(const Complex &) tree-const.h:552: tree_constant::tree_constant(const RowVector &) tree-const.h:550: tree_constant::tree_constant(const DiagMatrix &) tree-const.h:584: tree_constant::tree_constant(tree_constant_rep::constant_type) tree-const.h:546: tree_constant::tree_constant(double) f-hess.cc:148: in conversion to type `tree_constant' make[1]: *** [f-hess.o] Error 1 And the build does not properly complete. Does anyone have any ideas on this? Thanks in advance. ric steinberger ric at updike dot sri dot com