Re: annoying new gcc 4.6.0 warnings.

Michal Marek
2011-04-29T15:02:23Z

On Thu, Apr 21, 2011 at 05:28:13PM -0400, Dave Jones wrote:
> Disable the new -Wunused-but-set-variable that was added in gcc 4.6.0
> It produces more false positives than useful warnings.
>
> This can still be enabled using W=1
>
> Signed-off-by: Dave Jones <davej@redhat.com>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>
> Tested-by: Sam Ravnborg <sam@ravnborg.org>

Applied to kbuild-2.6.git#kbuild, thanks.

Michal