lkml.org 
[lkml]   [2021]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Makefile: use -Wno-main in the full kernel tree
From
Date
On 8/16/21 5:33 PM, Linus Torvalds wrote:
> On Fri, Aug 13, 2021 at 2:01 PM Linus Torvalds
> <torvalds@linux-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@infradead.org>

Should I resend the full patch?

Thanks.

--
~Randy

\
 
 \ /
  Last update: 2021-08-22 01:27    [W:0.099 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site