help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.1.69 and gcc 4.0


From: Quentin Spencer
Subject: 2.1.69 and gcc 4.0
Date: Wed, 04 May 2005 12:58:24 -0500
User-agent: Mozilla Thunderbird 1.0.2-1 (X11/20050323)

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::<anonymous enum>’ is/uses 
anonymous type

lex.l:196: error:   trying to instantiate ‘template<class T> template<class U> 
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]