help-octave
[Top][All Lists]
Advanced

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

FYI: compiling octave with gcc4 (no go)


From: Dmitri A. Sergatskov
Subject: FYI: compiling octave with gcc4 (no go)
Date: Fri, 18 Feb 2005 14:25:03 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041127)

I tried to compile octave-2.1.65 on RedHat/FedoraCore3 linux with gcc4
and gfortran (from RH development branch).
gfortran could not compile ranlib so I deleted it from the Makefile
(will rely on functions from octave-forge).
I also got the following problem which I cannot solve:

g++4 -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I ../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -mcpu=athlon-mp -mtune=a thlon-mp -pipe lex.cc -o pic/lex.o
octave.gperf: In function ‘const octave_kw* octave_kw_lookup(const char*, 
unsign ed int)’:
octave.gperf:99: error: ‘<anonymous enum>’ is/uses anonymous type
octave.gperf:99: error:   trying to instantiate ‘template<class T> template<clas s 
U> octave_int::octave_int(U)’
...
        and later on
octave.gperf:103: error: ‘<anonymous enum>’ is/uses anonymous type
octave.gperf:103: error:   trying to instantiate ‘template<class T> template<cla 
ss U> octave_int::octave_int(U)’
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> 
o ctave_int::octave_int(U)’
lex.l:196: error: ‘bracket_brace_paren_nesting_level::<anonymous enum>’ is/uses 
anonymous type

...

This is not a crucial problem for me (I have a working octave, compiled with 
gcc3.4.3),
but perhaps of some interest to others...

Sincerely,

Dmitri.
--



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