[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53E0DF51.3010506@suse.cz>
Date: Tue, 05 Aug 2014 15:42:41 +0200
From: Michal Marek <mmarek@...e.cz>
To: behanw@...verseincode.com
CC: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
dwmw2@...radead.org,
Jan-Simon Möller <dl9pf@....de>,
Mark Charlebois <charlebm@...il.com>, bp@...en8.de
Subject: Re: [PATCH v3] kbuild, LLVMLinux: Supress warnings unless W=1-3
On 2014-08-01 06:08, behanw@...verseincode.com wrote:
> From: Behan Webster <behanw@...verseincode.com>
>
> clang has more warnings enabled by default. Turn them off unless W is set.
> This patch fixes a logic bug where warnings in clang were disabled when W was set.
>
> Signed-off-by: Behan Webster <behanw@...verseincode.com>
> Signed-off-by: Jan-Simon Möller <dl9pf@....de>
> Signed-off-by: Mark Charlebois <charlebm@...il.com>
> Cc: mmarek@...e.cz
> Cc: bp@...en8.de
> ---
> Makefile | 1 +
> scripts/Makefile.extrawarn | 22 ++++++++++++----------
> 2 files changed, 13 insertions(+), 10 deletions(-)
OK, this looks better, I applied the patch to kbuild.git#kbuild.
> +KBUILD_CFLAGS += $(call cc-disable-warning, unknown-warning-option)
Do we have -W... options in the Makefiles that clang does not understand
and that are added unconditionally?
Thanks,
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists