Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: [llvm22] Breakage 2026-05-28
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
ports@openbsd.org
Date:
Sat, 30 May 2026 22:13:37 +0200

Download raw body.

Thread
On Sat, May 30, 2026 at 08:36:59PM +0200, Christian Weisgerber wrote:
> Theo Buehler:
> 
> > > +CONFIGURE_ENV+=		CFLAGS="-Wno-incompatible-pointer-types"
> > 
> > This should be the absolutely last resort and needs an explanation why
> > it's necessary and harmless to do so.
> 
> Is that actually a bug in clang?  Since this is no longer a warning,
> but a hard error, you shouldn't be able to disable it like that.
> Weird semantics at least.

Possibly. -Wparentheses behaves the same way, so it seems systematic:
-Wno-error=parentheses	warns but doesn't error
-Wno-parentheses 	turns off warning and error