Re: problem with ccflags := -Werror in Makefiles when buildingwith gcc 4.6.0

From: Joe Perches
Date: Wed Mar 09 2011 - 12:22:58 EST


On Wed, 2011-03-09 at 17:28 +0100, Douglas Mencken wrote:
> When building with gcc 4.6.0 with the new type of warnings introduced,
> -Wunused-but-set-variable, many directories with ccflags set to
> -Werror in Makefile fail to build.

After the kbuild W=<level> gets accepted,
it might be reasonable to add another W
level to make warnings fatal and remove
all -Werror entries from the various Makefiles.

See Borislav's patch
https://lkml.org/lkml/2011/3/1/76

and Ingo's idea
https://lkml.org/lkml/2011/3/9/186


--
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/