This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in flex prevents fixing ISO C warnings in gengtype-lex.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]