PATCH: gengtype-lex.l warning

Ben Elliston bje@au1.ibm.com
Wed Jan 7 09:38:00 GMT 2009


> Hmm, looking into it further, the cfarm gcc14 box has flex 2.5.33 and
> it still generates the missing prototype warnings.  So x.33 doesn't
> appear to be good enough... at least not with the default settings.
> Is there some magic macro that helps like YY_NO_INPUT?

Using flex 2.5.4, I get:

gengtype-lex.c:1663: warning: old-style function definition
gengtype-lex.c:1795: warning: old-style function definition

It sounds like these have been fixed in newer versions of flex, then?

Ben




More information about the Gcc-patches mailing list