From bug-octave-request at bevo dot che dot wisc dot edu Tue Dec 15 09:46:41 1998 Subject: Compilation error -- tree_boolean_expression From: Brian Tyrrell To: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 15 Dec 1998 10:48:39 -0500 I am trying to compile Octave under Solaris 2.5.1. I am getting the following error. This error was described in bug-octave archive 1998/376, which suggested use of Mumit Khan's patch in 1998/270. However, it looks like most of the changes described have already been applied to the source code. Any ideas? Thanks. {most of the transcript edited out} c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall data.cc In file included from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57/include/limits.h:117, from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57/include/syslimits.h :7, from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57/include/limits.h:11, from /opt/gcc/include/g++/climits:6, from ../liboctave/data-conv.h:26, from ../liboctave/dMatrix.h:35, from ../liboctave/mx-base.h:29, from ov.h:38, from variables.h:38, from defun-int.h:26, from defun.h:30, from data.cc:43: /usr/include/limits.h:156: warning: `DBL_MIN' redefined /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57/include/float.h:54: warning: this is the location of the previous definition /usr/include/limits.h:159: warning: `FLT_MAX' redefined /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57/include/float.h:35: warning: this is the location of the previous definition /usr/include/limits.h:160: warning: `FLT_MIN' redefined /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57/include/float.h:26: warning: this is the location of the previous definition In file included from ov.h:43, from variables.h:38, from defun-int.h:26, from defun.h:30, from data.cc:43: pt-exp.h:257: default argument missing for parameter 3 of `tree_boolean_expression::tree_boolean_expression(int = -1, int = -1, enum tree_boolean_expression::type)' gmake[2]: *** [data.o] Error 1 gmake[2]: Leaving directory `/home2/tyrrell/octave/octave-2.0.13/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/home2/tyrrell/octave/octave-2.0.13' gmake: *** [all] Error 2