From bug-octave-request at che dot utexas dot edu Mon Nov 7 11:41:37 1994 Subject: Compiling Octave-1.0 for Solaris2.3 From: razzell at ukpmr dot cs dot philips dot nl (Charles Razzell) To: bug-octave at che dot utexas dot edu Date: Mon, 7 Nov 1994 17:43:04 +0000 Dear Octave maintainer, I am using gcc version 2.6.0 to compile octave-1.0, under Solaris2.3 and having quite a bit of trouble in compiling the c++ files in the src directory. Firstly I have lots of warnings from g++ in any file which included Complex.h: /tools/pub/lib/g++-include/Complex.h:242: warning: `operator (unary *)(double, const Complex &)' was declared `extern' and later `static' /tools/pub/lib/g++-include/Complex.h:107: warning: previous declaration of `operator (unary *)(double, const Complex &)' /tools/pub/lib/g++-include/Complex.h: In function `double real(const class Complex &)': /tools/pub/lib/g++-include/Complex.h:247: warning: `real(const Complex &)' was declared `extern' and later `static' /tools/pub/lib/g++-include/Complex.h:109: warning: previous declaration of `real(const Complex &)' /tools/pub/lib/g++-include/Complex.h: In function `double imag(const class Complex &)': /tools/pub/lib/g++-include/Complex.h:252: warning: `imag(const Complex &)' was declared `extern' and later `static' etc... But I also get many fatals due to duplicate default arguments given for `class tree_constant get_user_input(const class tree_constant *, int, int, int = 0)' one in the .h file one in the implementation file. You were surely using a different compiler from me, as there too many cases of this to fix by hand?! Any hints would be appreciated. ********************************************** * Charles Razzell * * Advanced Development * * Philips Telecom -- PMR * * P.O. Box 24 * * St. Andrews Road * * Cambridge * * CB4 1DP * * * * email: razzell at ukpmr dot cs dot philips dot nl * * Telephone +44 223 358985 x3164 * * Facsimile +44 223 314812 * **********************************************