Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: gcc15: dial down the erros and c-std a bit
To:
ports@openbsd.org
Date:
Wed, 5 Nov 2025 16:43:07 +0100

Download raw body.

Thread
On Wed, Nov 05, 2025 at 04:03:54PM +0100, 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.

I think this diff makes sense independently of whether we switch to
gcc/15 or gcc/11 or if we keep things as they are. gcc should be more
lenient than llvm, which is what most devs will use to test their ports.

ok tb