[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c16596b-8fa1-4f36-7f4c-16a8034c92e1@infradead.org>
Date: Sat, 21 Aug 2021 16:26:30 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Daniel Bristot de Oliveira <bristot@...nel.org>,
Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Subject: Re: [PATCH] Makefile: use -Wno-main in the full kernel tree
On 8/16/21 5:33 PM, Linus Torvalds wrote:
> On Fri, Aug 13, 2021 at 2:01 PM Linus Torvalds
> <torvalds@...ux-foundation.org> wrote:
>>
>> From a quick google, it seems like '-Wmain' means something else for
>> clang. But it is probably ok.
>
> So the warnings that clang gives with -Wmain seem to be much more reasonable.
>
> Which makes me think that the '-Wno-main' thing would likely be better
> as a gcc-only thing.
>
> Maybe something like this instead?
>
> Linus
Tested-by: Randy Dunlap <rdunlap@...radead.org>
Should I resend the full patch?
Thanks.
--
~Randy
Powered by blists - more mailing lists