This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Disable -Werror for itbl-lex.o rule
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Thiemo Seufer <ths at networkno dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 1 Nov 2005 13:04:33 +1030
- Subject: Re: [PATCH] Disable -Werror for itbl-lex.o rule
- References: <20051101021009.GA26228@hattusa.textio>
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