[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQfNnqwNFir9pp6XVPTPahkJ7qnk4d7GO_zdBZk8j4COA@mail.gmail.com>
Date: Wed, 12 Apr 2017 04:38:45 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Mark Charlebois <charlebm@...il.com>,
Behan Webster <behanw@...verseincode.com>,
Michal Marek <mmarek@...e.com>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Kees Cook <keescook@...omium.org>,
Emese Revfy <re.emese@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kbuild, LLVMLinux: Add -Werror to cc-option to support clang
2017-04-01 5:38 GMT+09:00 Arnd Bergmann <arnd@...db.de>:
> From: Mark Charlebois <charlebm@...il.com>
>
> Clang will warn about unknown warnings but will not return false
> unless -Werror is set. GCC will return false if an unknown
> warning is passed.
>
> Adding -Werror make both compiler behave the same.
>
> [arnd: it turns out we need the same patch for testing whether -ffunction-sections
> works right with gcc. I've build tested extensively with this patch
> applied, so let's just merge this one now.]
>
> Signed-off-by: Mark Charlebois <charlebm@...il.com>
> Signed-off-by: Behan Webster <behanw@...verseincode.com>
> Reviewed-by: Jan-Simon Möller <dl9pf@....de>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied to linux-kbuild/kbuild.
Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists