This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in flex prevents fixing ISO C warnings in gengtype-lex.c
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: 03 Jul 2002 10:53:26 -0700
- Subject: Re: Bug in flex prevents fixing ISO C warnings in gengtype-lex.c
- References: <200207031745.NAA28449@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
> Now that the -Wtraditional check for ISO C function definitions is in,
> I'm trying to cleanup the warnings from gengtype-lex.c but I'm running
> into problems due to a bug in flex-2.5.4.
>
> Is 2.5.4 the latest version? Does anyone know where to send updates
> for flex? It doesn't look like its being maintained.
Did you try:
Vern Paxson (vern@ee.lbl.gov) (mentioned in README)
help-flex@gnu.org (mentioned at http://www.gnu.org/software/flex/flex.html)
> 1. Require everyone to get a patched flex? (Blah!)
I would recommend trying this. Hopefully, one of the addresses above
will be able to help, possibly by producing a new release.
> 4. Add a one line sed command to the generation of gengtype-lex.c
> which has the same effect on the output as the patch to
> flex/skel.c above.
>
>
> Can anyone think of anything else? If not, I'd like to implement #4.
If (1) fails, (4) is probably the best choice.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>