From help-request at octave dot org Wed May 4 13:01:37 2005 Subject: 2.1.69 and gcc 4.0 From: Quentin Spencer To: help at octave dot org Date: Wed, 04 May 2005 12:58:24 -0500 I'm using a Fedora Core 4 test release with GCC 4. I use a plain ../configure with no flags and when compiling I get a long list of errors beginning with: g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 lex.cc -o lex.o lex.l: In member function ‘bool bracket_brace_paren_nesting_level::is_bracket()’: lex.l:196: error: ‘bracket_brace_paren_nesting_level::’ is/uses anonymous type lex.l:196: error: trying to instantiate ‘template template octave_int::octave_int(U)’ I have updated every thing I can think of in the development tools to the most recent Fedora releases. Looking at the archives, I see that Dmitri reported a successful compilation on February 18, but with some configure flags I'm not used to seeing like: --with-gxx-include-dir=/usr/include/c++/3.4.3 This would seem to make it dependent on having both 4.0 and 3.4 versions of GCC installed simultaneously. Does anyone else have any more recend build experience with GCC 4, and are there any configure options I should try? I also recall that someone reported some GCC bugs that may be causing problems compiling octave. What problems did they cause? -Quentin ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------