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

From: Linus Torvalds
Date: Fri Aug 13 2021 - 20:01:29 EST


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.

Linus