Download raw body.
gcc15: dial down the erros and c-std a bit
On Wed, Nov 05, 2025 at 03:43:35PM +0000, Stuart Henderson wrote: > On 2025/11/05 16:03, Claudio Jeker wrote: > > gcc15 is very bleading edge, it is ahead of base clang when it comes to > > support C23 and that just breaks too much. > > > > This diff reduces the pain by switching back to C17 by default and > > turning -Wimplicit-function-declaration and -Wincompatible-pointer-types > > back into simple warnings. > > btw, standard clang does error on those as well, we patched to disable it. > > some other discussion on the topic, > > https://trac.macports.org/wiki/WimplicitFunctionDeclaration > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 > https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213/23 > https://wiki.gentoo.org/wiki/Modern_C_porting > > your changes make sense to me for now. > > I agree with patching the compiler to turn these back to simple warnings > at this time. we can't handle fixes for these on a less common arch > especially when the compiler change will throw up other problems. > > but we should probably look at doing test builds on amd64 with the > error reenabled in clang and check logs to figure out how painful it's > going to be to actually fix things. I agree with that approach but I would suggest to first cleanup base :) -- :wq Claudio
gcc15: dial down the erros and c-std a bit