From bug-octave-request at bevo dot che dot wisc dot edu Wed Oct 20 15:07:28 1999 Subject: cvs snapshoot error in lex.cc From: Joao Cardoso To: bug-octave Date: Wed, 20 Oct 1999 21:07:13 +0100 Hi, After configuring the latest cvs snapshot with the following command on a sco-3.2v.5.0.4 with egcs-1.1.2, CFLAGS=-O2 CXXFLAGS=-O2 FFLAGS=-O2 ./autogen.sh -host=i686-pc-sco3.2v5.0.4 --enable-shared --enable-dl --disable-static I receive the following error: lex.l: In function `int is_keyword(const class string &)': lex.l:952: warning: ANSI C++ forbids declaration `octave_kw' with no type lex.l:952: uninitialized const `int const octave_kw' lex.l:952: parse error before `*' lex.l:954: `kw' undeclared (first use this function) Is this related with the file "FLEX.patch"? After regenerating lex.cc with flex-2.5.4, I still receive the same error. Joao -- Joao Cardoso | e-mail: jcardoso at inescn dot pt INESC, R. Jose Falcao 110 | tel: + 351 2 2094322 4050 Porto, Portugal | fax: + 351 2 2008487 --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html ---------------------------------------------------------------------