This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Fun with flex
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 15 Sep 2003 23:50:40 -0400
- Subject: Re: Fun with flex
- References: <3F6658CD.2030201@msu.edu>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Mon, Sep 15, 2003 at 08:26:53PM -0400, Harold L Hunt II wrote:
>I am working on building a release for Cygwin 1.5.3. I am getting some
>fun errors (listed below) related to changes to flex. I would
>appreciate any help in pointing out how these problems should be fixed.
> Please note that this is a build of the XFree86 4.3.0.1 CVS branch.
>flex -l -t lexer.l > lexer.c
>gcc -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../..
>-I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE
>-D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L
>-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15
>-DNARROWPROTO -DXENVIRONMENT -c -o lexer.o lexer.c
><stdout>: In function `yylex':
><stdout>:1199: `yy_prev_more_offset' undeclared (first use in this function)
><stdout>:1199: (Each undeclared identifier is reported only once
><stdout>:1199: for each function it appears in.)
>/usr/include/stdio.h: At top level:
><stdout>:2988: warning: `yy_flex_strlen' defined but not used
Does it work any better if you get rid of the '-l'?
cgf