This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: seeing some -Wshadow warnings-turned-errors...
Nick Clifton <nickc@redhat.com> writes:
> Hi Andreas,
>
>> IMHO -Wshadow should be removed. Without complete control over the
>> global namespace it is impossible to avoid these warnings.
>
> I still think that it is worthwhile - it has allowed me to find a couple
> of bugs in the binutils code.
I agree that it is useful, just not together with -Werror.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."