Re: annoying new gcc 4.6.0 warnings.

From: Michal Marek
Date: Fri Apr 29 2011 - 11:02:26 EST


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@xxxxxxxxxx>
> Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Tested-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

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

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/