[PATCH] Disable -Werror for itbl-lex.o rule
Alan Modra
amodra@bigpond.net.au
Tue Nov 1 02:34:00 GMT 2005
On Tue, Nov 01, 2005 at 03:10:09AM +0100, Thiemo Seufer wrote:
> There are still tools in use (e.g. in Debian unstable) which produce
> warnings for the itbl-lex code.
>
> Ok to apply?
Hmm, if someone is using CVS, then we expect certain tools to be
available and sufficiently recent. If on the other hand they are using
a release, then itbl-lex.c and other similar files should already be
generated. I see that we already make allowance for an old bison with
m68k-parse.c and itbl-parse.c, so I suppose this is OK to apply.
> +
> +# Disable -Werror, if it has been enabled, since old versions of bison/
> +# yacc will produce working code which contain compile time warnings.
> itbl-lex.o: itbl-lex.c itbl-parse.h $(srcdir)/itbl-lex.h
> + $(COMPILE) -c $< $(NO_WERROR)
>
> # Disable -Werror, if it has been enabled, since old versions of bison/
> # yacc will produce working code which contain compile time warnings.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list