Re: [gob-list] CVS lexer.l problems

From: George <jirka_at_5z.com>
Date: Thu, 15 May 2003 10:00:24 -0700

On Sun, May 04, 2003 at 04:16:04PM -0500, David Smock wrote:
> Recently when i'm trying to compile gob from gnome CVS, i'm getting the
> following errors:
>
> lexer.c:23:24: warning: "/*" within comment
> lexer.l:34: `INITIAL' undeclared here (not in a function)
> lexer.c:3080: warning: no previous prototype for `yyget_lineno'
> lexer.c:3089: warning: no previous prototype for `yyget_in'
> lexer.c:3097: warning: no previous prototype for `yyget_out'
> lexer.c:3105: warning: no previous prototype for `yyget_leng'
> lexer.c:3114: warning: no previous prototype for `yyget_text'
> lexer.c:3123: warning: no previous prototype for `yyset_lineno'
> lexer.c:3135: warning: no previous prototype for `yyset_in'
> lexer.c:3140: warning: no previous prototype for `yyset_out'
> lexer.c:3145: warning: no previous prototype for `yyget_debug'
> lexer.c:3150: warning: no previous prototype for `yyset_debug'
> lexer.c:3156: warning: no previous prototype for `yylex_destroy'
> lexer.l: In function `warning_avoider':
> lexer.l:602: warning: implicit declaration of function `yy_flex_realloc'
> make[4]: *** [lexer.o] Error 1
> make[4]: Leaving directory `/gnome/head/cvs/gob/src'
>
> bison -V: bison (GNU Bison) 1.875a
> flex -V: flex 2.5.31
>
> Thanks for you help,
> David

Just "fixed" this in CVS and will release a tarball soon. The problem is
that new flex broke a bunch of things so I put in a workaround that works
with new and old flex.

George

-- 
George <jirka_at_5z.com>
   Then, when you have found the shrubbery, you must cut down the mightiest
   tree in the forest... with... a herring!
                       -- The Knights Who Say 'Ni'
Received on Thu May 15 2003 - 13:00:35 CDT

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT