help-octave
[Top][All Lists]
Advanced

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

Re: 2.1.69 and gcc 4.0


From: Dmitri A. Sergatskov
Subject: Re: 2.1.69 and gcc 4.0
Date: Wed, 04 May 2005 13:18:41 -0600
User-agent: Mozilla Thunderbird (X11/20050322)

Quentin Spencer wrote:
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


The gcc4 I used was the one provided by RH for FC3. It was compiled to use
gcc-3.4.3 headers.
I can compile lex.cc in octave-2.9.2 with gcc version 4.0.0 20050406
(Red Hat 4.0.0-0.41.fc3) w/o any problem, but I have problems with
2.1.69

There were two bugs that I filled against gcc4 -- gfortran cannot handle 
multiple
ENTRY in fortrnan programs [1]. Another -- g++ have ICE compiling some of the 
Array*.cc
files [2]. I think both was fixed in gcc-4.0.0-2 rpms, but since corresponding 
gcc4 for FC3
(or RHEL4) is not yet available, I cannot check it.

Sincerely,
Dmitri.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13082
[2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154578

--



-------------------------------------------------------------
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]