help-octave
[Top][All Lists]
Advanced

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

I am trying to build the octavecvs by gcc 4.2.1 on Cygwin


From: Tatsuro MATSUOKA
Subject: I am trying to build the octavecvs by gcc 4.2.1 on Cygwin
Date: Wed, 25 Jul 2007 12:40:30 +0900 (JST)

I am trying to build the octavecvs by gcc 4.2.1 on Cygwin
expecting better optimizing ability of gcc 4 than gcc 3.
Progblem with gfortran was solved using newest version
ATLAS by gcc 4.2.1 on Cygwin.

In making process, the following error was appeared.

****************************
g++ -c -I/usr/local/gcc-4.2.1/include
-I/usr/local/include/atlas3.7.34 -I. -I..
-I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -g -O2 lex.cc -o lex.o
In file included from lex.l:77:
./oct-gperf.h:55: error: ISO C++ forbids declaration of
'in_word_set' with no type
./oct-gperf.h:93: error: ISO C++ forbids declaration of
'wordlist' with no type
./oct-gperf.h:128: error: braces around scalar initializer
for type 'const int'
./oct-gperf.h:141: error: ISO C++ forbids declaration of
'in_word_set' with no type
./oct-gperf.h: In static member function 'static const
int* octave_kw_hash::in_word_set(const char*, unsigned
int)':
./oct-gperf.h:153: error: request for member 'name' in
'wordlist[index]', which
is of non-class type 'const int'
./oct-gperf.h:161: error: ISO C++ forbids declaration of
'wordptr' with no type
./oct-gperf.h:162: error: ISO C++ forbids declaration of
'wordendptr' with no type
./oct-gperf.h:166: error: request for member 'name' in '*
wordptr', which is of
non-class type 'const int'
lex.l: In function 'int is_keyword_token(const
std::string&)':
lex.l:998: error: cannot convert 'const int*' to 'const
octave_kw*' in initialization
lex.l: In function 'octave_value_list Fiskeyword(const
octave_value_list&, int)':
lex.l:2459: error: request for member 'name' in
'wordlist[i]', which is of non-class type 'const int'
*******************************************

with make -i liboctave and libcruft were succesfully
build.  Perhaps this error will be overcome, the build
will be successful.  Please help me.  

Sincerely.


--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/



reply via email to

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