On 24-Feb-2005, Andy Adler <address@hidden> wrote:
| 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?
It works for me. Can you send me the lex.cc and oct-gperf.h files
that you have?
Thanks,
jwe