From: Theo Buehler Subject: Re: -Wimplicit-int fixes for various ports To: ports@openbsd.org Date: Thu, 4 Dec 2025 17:59:09 +0100 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)