[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with recent octave cvs snapshots
From: |
Dmitri A. Sergatskov |
Subject: |
Problem with recent octave cvs snapshots |
Date: |
Thu, 12 May 2005 10:16:58 -0600 |
User-agent: |
Mozilla Thunderbird (X11/20050322) |
I have trouble compiling recent cvs snapshots of octave (including
the one from 2005-05.12):
g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 lex.cc -o pic/lex.o
lex.l: In function `int is_keyword_token(const std::string&)':
lex.l:1016: error: expected primary-expression before "const"
lex.l:1016: error: expected `;' before "const"
lex.l:1018: error: `kw' undeclared (first use this function)
lex.l:1018: error: (Each undeclared identifier is reported only once for each
function it appears in.)
lex.l:1024: error: `all_va_args_kw' undeclared (first use this function)
lex.l:1025: error: `break_kw' undeclared (first use this function)
lex.l:1026: error: `case_kw' undeclared (first use this function)
lex.l:1027: error: `catch_kw' undeclared (first use this function)
lex.l:1028: error: `continue_kw' undeclared (first use this function)
lex.l:1029: error: `else_kw' undeclared (first use this function)
lex.l:1030: error: `elseif_kw' undeclared (first use this function)
lex.l:1031: error: `global_kw' undeclared (first use this function)
lex.l:1032: error: `otherwise_kw' undeclared (first use this function)
lex.l:1033: error: `return_kw' undeclared (first use this function)
lex.l:1034: error: `static_kw' undeclared (first use this function)
lex.l:1035: error: `until_kw' undeclared (first use this function)
lex.l:1036: error: `unwind_protect_cleanup_kw' undeclared (first use this
function)
lex.l:1039: error: `end_kw' undeclared (first use this function)
lex.l:1054: error: `end_try_catch_kw' undeclared (first use this function)
lex.l:1059: error: `end_unwind_protect_kw' undeclared (first use this function)
lex.l:1064: error: `endfor_kw' undeclared (first use this function)
lex.l:1069: error: `endfunction_kw' undeclared (first use this function)
lex.l:1081: error: `endif_kw' undeclared (first use this function)
lex.l:1086: error: `endswitch_kw' undeclared (first use this function)
lex.l:1091: error: `endwhile_kw' undeclared (first use this function)
lex.l:1096: error: `for_kw' undeclared (first use this function)
lex.l:1097: error: `while_kw' undeclared (first use this function)
lex.l:1101: error: `do_kw' undeclared (first use this function)
lex.l:1106: error: `if_kw' undeclared (first use this function)
lex.l:1107: error: `try_kw' undeclared (first use this function)
lex.l:1108: error: `switch_kw' undeclared (first use this function)
lex.l:1109: error: `unwind_protect_kw' undeclared (first use this function)
lex.l:1114: error: `function_kw' undeclared (first use this function)
lex.l:1155: error: `magic_file_kw' undeclared (first use this function)
lex.l:1165: error: `magic_line_kw' undeclared (first use this function)
lex.l:1169: error: `varargin_kw' undeclared (first use this function)
lex.l:1174: error: `varargout_kw' undeclared (first use this function)
lex.l:1014: warning: unused variable 'len'
lex.l: In function `bool is_keyword(const std::string&)':
lex.l:2435: error: `octave_kw_hash' has not been declared
lex.l:2435: error: `in_word_set' undeclared (first use this function)
lex.l: In function `octave_value_list Fiskeyword(const octave_value_list&,
int)':
lex.l:2456: error: `TOTAL_KEYWORDS' undeclared (first use this function)
lex.l:2459: error: `wordlist' undeclared (first use this function)
make[2]: *** [pic/lex.o] Error 1
make[2]: Leaving directory `/tumbleweed/dima/src/octave/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/tumbleweed/dima/src/octave'
make: *** [all] Error 2
gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)
Help?
Dmitri.
--
- Problem with recent octave cvs snapshots,
Dmitri A. Sergatskov <=