[PATCH] flex: Kill warning

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Apr 27 23:38:24 CEST 2010


Martin Mares <mj at ucw.cz> wrote on 2010/04/27 23:33:08:
>
> > This kills:
> > cf-lex.c:1874: warning: 'yy_fatal_error' defined but not used
>
> Sorry, but this is much more ugly than the warning itself.

No, it isn't. You don't have look at that every compile.

>
> What about declaring yy_fatal_error() with UNUSED?

Tried that already, but since cf-lex.c already have a decl.
it doesn't work.




More information about the Bird-users mailing list