octave-maintainers
[Top][All Lists]
Advanced

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

Re: cvs snapshoot error in lex.cc


From: Joao Cardoso
Subject: Re: cvs snapshoot error in lex.cc
Date: Thu, 21 Oct 1999 17:52:38 +0100

"John W. Eaton" wrote:

> On 20-Oct-1999, Joao Cardoso <address@hidden> wrote:
>
> | 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.
>
> This is not a problem with flex.  It is a problem with gperf.  Your

I had not gperf installed in my system; a zero byte oct-gperf.h was however
in the src directory.

>
> oct-gperf.h file needs to be created with the -L ANSI-C option for
> gperf.  The rules in src/Makefile should do this correctly.  Also, a
> correct version of oct-gperf.h should be included in the distribution.
>
> Can you please report problems with the bleeding-edge releases to the
> octave-maintainers list?

Done.

Thanks,
Joao

>
>
> Thanks,
>
> jwe
>
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------

--
Joao Cardoso                |   e-mail: address@hidden
INESC, R. Jose Falcao 110   |   tel:    + 351 2 2094322
4050 Porto, Portugal        |   fax:    + 351 2 2008487





reply via email to

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