Re: [git-pull -tip] Add -Werror to arch/x86/ files only and fixwarnings

From: Andrew Morton
Date: Wed Apr 15 2009 - 15:27:33 EST


On Wed, 15 Apr 2009 16:34:18 +0530
Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx> wrote:

> I added -Werror for x86/files only

yikes.

Not only does this need to be tested for all configs, it also need to
be tested for all approved gcc versions.

For example, one of my compilers always spews warnings from x86 because
it has the "foo(&bar) doesn't initialise bar" stupidity.

And there will be other gcc inconsitencies, for sure.

> Subject: [PATCH-tip] x86: Adding -Werror to arch/x86/ files only for !CONFIG_ALLOW_X86_WARNINGS

whew, that sounds better.

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