Re: [PATCH] Makefile: use -Wno-main in the full kernel tree

From: Randy Dunlap
Date: Fri Aug 13 2021 - 20:29:16 EST


On 8/13/21 5:01 PM, Linus Torvalds wrote:
On Fri, Aug 13, 2021 at 12:41 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

Build-tested on most ARCHes.

How about old versions of gcc? Or clang?

From a quick google, it seems like '-Wmain' means something else for
clang. But it is probably ok.

Dunno. Let's just let it ride in linux-next for a bit to see what it hits.