On Mon, 2025-01-06 at 23:18 +0000, Ihor Solodrai wrote: > On Monday, January 6th, 2025 at 1:16 PM, Eduard Zingerman <eddyz87@xxxxxxxxx> wrote: > > > > > [...] > > > > > > From previous discussion it looks like it's better to just enable some -std option for both gcc and clang. > > Kernel is compiled with -std=gnu11. > > Do you mean that eventually clang is going to make C23 the default too? > Yeah, considering this it's a good idea to specify the standard explicitly. Yes. > I am not sure what's the best choice though. If the tests compile currently > with gnu17, maybe we can leave it at that, and not fall back to gnu11? Based on my local testing gnu11 works and that's what kernel uses, so I'd stick with that. [...]