From owner-bug-octave at bevo dot che dot wisc dot edu Wed Oct 23 13:18:49 1996 Subject: Octave fails to compile under libg++ 2.7.2 and g++ 2.7.2 From: archibal at dirac dot ccrs dot emr dot ca (Andrew Archibald) To: bug-octave at che dot utexas dot edu Date: Wed, 23 Oct 1996 13:32:14 -0400 (EDT) Hi, When I attempt to compile octave-1.1.1 on a mips-sgi-irix5.3 I get a plethora of errors like the following: CDiagMatrix.h: In function `class ComplexDiagMatrix product(const class DiagMatrix &, const class ComplexDiagMatrix &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class complex *, int, int)' is private dDiagMatrix.cc:677: within this context Well, initially, make doesn't get that far, it dies due to a problem in mx-defs.h, where we find: class Complex; Now, in a new libg++ Complex isn't a class; it's a typedef. My only solution for that was to replace class Complex; with #include As for the othjer errors, of the form constructor .* is private, indeed the constructor is private. Making it public solves the problem, although it's a terrible kludge. I can go on doing this, but I doubt it is a good idea... The compiler spews forth zillions of warnings about for scopes as well. Thanks, Andrew Archibald archibal at ccrs dot emr dot ca