Re: [gentoo-dev] Clang 16 is coming - and it'll break your packages!

2022-10-11 Thread Ionen Wolkens
On Sun, Oct 09, 2022 at 10:25:47PM +0100, Sam James wrote: > ## Bonus > > It also *warns* about K declarations and ill-defined, deprecated > prototypes, > so for bonus work, test with: > * -Werror=strict-prototypes (C only) > * -Werror=deprecated-non-prototype (C only) > > It's suggested that if

Re: [gentoo-dev] Clang 16 is coming - and it'll break your packages!

2022-10-09 Thread Michael Orlitzky
On Sun, 2022-10-09 at 22:25 +0100, Sam James wrote: > > * Some bugs simply need an `eautoreconf` because older > autoconf-generated configure files had issues. > Vanilla autoconf still emits busted tests for e.g. AC_CHECK_FUNC, so you'll want the ~arch autoconf with sam's backported patches

Re: [gentoo-dev] Clang 16 is coming - and it'll break your packages!

2022-10-09 Thread Sam James
Sam James writes: > Hi all, > > Clang 16 is going to break a lot of packages. We need your help to fix > the huge number of bugs [0] already reported - and there's more coming. > I should've added: here's a nice list of things to work on.

[gentoo-dev] Clang 16 is coming - and it'll break your packages!

2022-10-09 Thread Sam James
Hi all, Clang 16 is going to break a lot of packages. We need your help to fix the huge number of bugs [0] already reported - and there's more coming. These fixes are almost always trivial, the issue is the _volume_ of bugs. The compiler even tells you how to fix them most of the time. I