From bug-octave-request at che dot utexas dot edu Wed Dec 1 14:47:52 1993 Subject: error in Matrix.h From: Tony Mullins To: bug-octave Date: Wed, 01 Dec 93 14:47:48 CST The new version of gcc evidently is better at catching declaration errors in the operator =. I got the following errors when compiling some non-Octave code: g++ -Iinclude -I. -g -Wall -c -o s_elem_test.o s_elem_test.cc In file included from surf_elem_1d.h:11, from s_elem_test.cc:3: include/Matrix.h:2512: `SCHUR::operator =(const SCHUR &, const char *)' must take exactly one argument include/Matrix.h:2538: `SCHUR::operator =(const SCHUR &, const char *)' must take exactly one argument include/Matrix.h:2564: `ComplexSCHUR::operator =(const ComplexSCHUR &, const char *)' must take exactly one argument include/Matrix.h:2593: `ComplexSCHUR::operator =(const ComplexSCHUR &, const char *)' must take exactly one argument make: *** [s_elem_test.o] Error 1 Compilation exited abnormally with code 1 at Wed Dec 1 13:43:37 I corrected the relevant code in the copy of /usr/local/include/Matrix.h but the errors are still present in the Octave-0.79 source. I notice the source is corrected in your personal source directory. Just in case, I made diffs of the changes and put them in ~jamull/tmp/Matrix.h.diffs. Tony Mullins