[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lex.l compile error
From: |
ismail (cartman) donmez |
Subject: |
Re: lex.l compile error |
Date: |
Sat, 15 Mar 2003 00:19:07 +0200 |
User-agent: |
KMail/1.5.9 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Saturday 15 March 2003 00:08, Nick Allen wrote:
> g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob
> -I../glob
> -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall lex.cc -o lex.o
> lex.l: In function `int is_keyword(const std::string&)':
> lex.l:1153: ISO C++ forbids declaration of `octave_kw' with no type
> lex.l:1153: uninitialized const `octave_kw'
> lex.l:1153: parse error before `*' token
> lex.l:1155: `kw' undeclared (first use this function)
> lex.l:1155: (Each undeclared identifier is reported only once for each
> function
> it appears in.)
> lex.l:1161: `all_va_args_kw' undeclared (first use this function)
> lex.l:1162: `break_kw' undeclared (first use this function)
> lex.l:1163: `case_kw' undeclared (first use this function)
> lex.l:1164: `catch_kw' undeclared (first use this function)
> lex.l:1165: `continue_kw' undeclared (first use this function)
> lex.l:1166: `else_kw' undeclared (first use this function)
> lex.l:1167: `elseif_kw' undeclared (first use this function)
> lex.l:1168: `global_kw' undeclared (first use this function)
> lex.l:1169: `otherwise_kw' undeclared (first use this function)
> lex.l:1170: `return_kw' undeclared (first use this function)
> lex.l:1171: `static_kw' undeclared (first use this function)
> lex.l:1172: `until_kw' undeclared (first use this function)
> lex.l:1173: `unwind_protect_cleanup_kw' undeclared (first use this
> function)
> lex.l:1176: `end_kw' undeclared (first use this function)
> lex.l:1191: `end_try_catch_kw' undeclared (first use this function)
> lex.l:1196: `end_unwind_protect_kw' undeclared (first use this function)
> lex.l:1201: `endfor_kw' undeclared (first use this function)
> lex.l:1206: `endfunction_kw' undeclared (first use this function)
> lex.l:1218: `endif_kw' undeclared (first use this function)
> lex.l:1223: `endswitch_kw' undeclared (first use this function)
> lex.l:1228: `endwhile_kw' undeclared (first use this function)
> lex.l:1233: `for_kw' undeclared (first use this function)
> lex.l:1234: `while_kw' undeclared (first use this function)
> lex.l:1238: `do_kw' undeclared (first use this function)
> lex.l:1243: `if_kw' undeclared (first use this function)
> lex.l:1244: `try_kw' undeclared (first use this function)
> lex.l:1245: `switch_kw' undeclared (first use this function)
> lex.l:1246: `unwind_protect_kw' undeclared (first use this function)
> lex.l:1251: `gplot_kw' undeclared (first use this function)
> lex.l:1256: `gsplot_kw' undeclared (first use this function)
> lex.l:1261: `replot_kw' undeclared (first use this function)
> lex.l:1266: `function_kw' undeclared (first use this function)
> lex.l:1307: `magic_file_kw' undeclared (first use this function)
> lex.l:1317: `magic_line_kw' undeclared (first use this function)
> lex.l:1321: `varargin_kw' undeclared (first use this function)
> lex.l:1326: `varargout_kw' undeclared (first use this function)
> lex.l:1151: warning: unused variable `int len'
> lex.l:1153: warning: unused variable `const int octave_kw'
> lex.l: In function `octave_value_list Fiskeyword(const
> octave_value_list&,
> int)':
> lex.l:2598: `TOTAL_KEYWORDS' undeclared (first use this function)
> lex.l:2601: `wordlist' undeclared (first use this function)
> lex.l:2609: `octave_kw_lookup' undeclared (first use this function)
> make[2]: *** [lex.o] Error 1
> make[2]: Leaving directory `/home/nwa/octave/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/nwa/octave'
> make: *** [all] Error 2
Get gperf from www.gnu.org then rm octave/src/octave.gperf and recompile.
I think John forgot to generate it himself for cvs :/
- --
Portability - what portability? This is UNIX my boy!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+clVhlE1Oa9O15h8RAvqaAKDTwuo9h6fhlhh+zeYODenjkEr0HQCeJQrL
yEIcGp1oDM53FfC3+4LyDtI=
=pTVE
-----END PGP SIGNATURE-----
-------------------------------------------------------------
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
-------------------------------------------------------------