From octave-maintainers-request at bevo dot che dot wisc dot edu Mon Oct 30 07:38:38 2000 Subject: errors on compile with CVS from friday From: "Lippert, Ross A." To: "'octave-maintainers at octave dot org'" Date: Mon, 30 Oct 2000 08:37:49 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C04276.A1A5C064 Content-Type: text/plain; charset="iso-8859-1" Running flex 2.5.4 and the latest bison I could find on the CVS from friday with g++ 2.95.2 I got the following errors in the build. Do I need to upgrade something? -r <> ------_=_NextPart_000_01C04276.A1A5C064 Content-Type: application/octet-stream; name="errors" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="errors" c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob = -I../glob -DHAVE_CONFIG_H -mieee-with-inexact -fno-rtti -fno-exceptions = -fno-implicit-templates -g -O2 -Wall lex.cc -o lex.o lex.l: In function `int is_keyword(const string &)': lex.l:1026: ANSI C++ forbids declaration `octave_kw' with no type lex.l:1026: uninitialized const `octave_kw' lex.l:1026: parse error before `*' lex.l:1028: `kw' undeclared (first use this function) lex.l:1028: (Each undeclared identifier is reported only once lex.l:1028: for each function it appears in.) lex.l:1034: `all_va_args_kw' undeclared (first use this function) lex.l:1035: `break_kw' undeclared (first use this function) lex.l:1036: `case_kw' undeclared (first use this function) lex.l:1037: `catch_kw' undeclared (first use this function) lex.l:1038: `continue_kw' undeclared (first use this function) lex.l:1039: `else_kw' undeclared (first use this function) lex.l:1040: `elseif_kw' undeclared (first use this function) lex.l:1041: `global_kw' undeclared (first use this function) lex.l:1042: `otherwise_kw' undeclared (first use this function) lex.l:1043: `return_kw' undeclared (first use this function) lex.l:1044: `static_kw' undeclared (first use this function) lex.l:1045: `until_kw' undeclared (first use this function) lex.l:1046: `unwind_protect_cleanup_kw' undeclared (first use this = function) lex.l:1049: `end_kw' undeclared (first use this function) lex.l:1053: `end_try_catch_kw' undeclared (first use this function) lex.l:1057: `end_unwind_protect_kw' undeclared (first use this = function) lex.l:1061: `endfor_kw' undeclared (first use this function) lex.l:1065: `endfunction_kw' undeclared (first use this function) lex.l:1069: `endif_kw' undeclared (first use this function) lex.l:1073: `endswitch_kw' undeclared (first use this function) lex.l:1077: `endwhile_kw' undeclared (first use this function) lex.l:1081: `do_kw' undeclared (first use this function) lex.l:1082: `for_kw' undeclared (first use this function) lex.l:1083: `while_kw' undeclared (first use this function) lex.l:1088: `if_kw' undeclared (first use this function) lex.l:1089: `try_kw' undeclared (first use this function) lex.l:1090: `switch_kw' undeclared (first use this function) lex.l:1091: `unwind_protect_kw' undeclared (first use this function) lex.l:1095: `gplot_kw' undeclared (first use this function) lex.l:1100: `gsplot_kw' undeclared (first use this function) lex.l:1105: `replot_kw' undeclared (first use this function) lex.l:1110: `function_kw' undeclared (first use this function) lex.l:1142: `magic_file_kw' undeclared (first use this function) lex.l:1152: `magic_line_kw' undeclared (first use this function) lex.l:1047: warning: unreachable code at beginning of switch statement lex.l:1026: warning: unused variable `const int octave_kw' lex.l:1024: warning: unused variable `int len' lex.l:1169: warning: control reaches end of non-void function = `is_keyword(const string &)' ------_=_NextPart_000_01C04276.A1A5C064--