Download raw body.
-Wimplicit-int fixes for various ports
On Thu, Dec 04, 2025 at 07:54:17PM +0100, Claudio Jeker wrote: > On Thu, Dec 04, 2025 at 05:59:09PM +0100, Theo Buehler wrote: > > On Thu, Dec 04, 2025 at 05:26:59PM +0100, Claudio Jeker wrote: > > > gcc15 does not like implicit int. These ports fail because the configure > > > scripts think 'main()' is good enough. > > > > > > Fixing this is trivial and we already patch up most of those scripts for > > > other reasons. > > > > > > This is just the tip of the Wimplicit-int iceberg but this is a start. > > > > I'd be inclined to do this to make it a bit more resilient against the > > next warning that a compiler person turns into a hard error: > > > > -main() > > +int main(void) > > Sure I can do that, but we probably need to adjust a bit more then. > Let me see... Maybe I expressed myself poorly. I didn't want to suggest you eliminate all warnings, but the trivial modification of adding "void" to your patches would eliminate a -Wdeprecated-non-prototype warning.
-Wimplicit-int fixes for various ports