help-octave
[Top][All Lists]
Advanced

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

compling from CVS: lex.l errors


From: Andy Adler
Subject: compling from CVS: lex.l errors
Date: Thu, 24 Feb 2005 16:44:57 -0500 (EST)

I'm trying to compile a clean checkout of the sparse-merge branch.
I'm getting the following error:

    $ ./autogen.sh
    $ ./configure --enable-shared --enable-dl --disable-static
    $ make
     ...
    g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  
-I../glob -I../glob -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:1004: error: expected primary-expression before "const"
    lex.l:1004: error: expected `;' before "const"
    lex.l:1006: error: `kw' undeclared (first use this function)
    lex.l:1006: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
     ... and lots more errors

I'm using the latest versions of g++ (3.3.5 and 3.4.4) and flex 2.5.31.
This fails under Debian and cygwin. David Bateman suggested gperf may
be an issue, but I seem to have the latest version.

Could anyone help?
--
Andy Adler




-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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