On Fri, Aug 13, 2021 at 2:01 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> 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