Re: clang 15 and zlib

2023-09-05 Thread Todd C . Miller
On Wed, 06 Sep 2023 10:43:34 +1000, Jonathan Gray wrote: > tb updated us to the newer version a while ago OK millert@ - todd

Re: clang 15 and zlib

2023-09-05 Thread Theo Buehler
On Wed, Sep 06, 2023 at 10:43:34AM +1000, Jonathan Gray wrote: > On Wed, Dec 28, 2022 at 02:36:56PM -0700, Todd C. Miller wrote: > > OK millert@ as well. There is no point in trying to fix this locally > > when upstream zlib will be changing it in the near(?) future. > > > > - todd > > tb

Re: clang 15 and zlib

2023-09-05 Thread Jonathan Gray
AGS+= -Wno-address-of-packed-member -Wno-constant-conversion \ -Wno-unused-but-set-variable -Wno-gnu-folding-constant -# XXX Workaround for zlib + clang 15 -# https://github.com/madler/zlib/issues/633 -CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option .en

Re: clang 15 and zlib

2022-12-31 Thread Theo de Raadt
Sat Dec 17 19:30:28 2022 +0100 > > sys/arch/*/stand: work around clang 15 error in zlib > > Upstream issue: > https://github.com/madler/zlib/issues/633 > > diff --git a/sys/arch/amd64/stand/Makefile.inc > b/sys/arch/amd64/stand/Makefile.inc > inde

Re: clang 15 and zlib

2022-12-29 Thread Jeremie Courreges-Anglas
On Wed, Dec 28 2022, Jeremie Courreges-Anglas wrote: > To build src cleanly with clang-15 you'd need the diff below. The > alternative would be to patch our three zlib copies and wait for > upstream to fix it. A more comfortable alternative is to just neuter > the warning.

Re: clang 15 and zlib

2022-12-28 Thread Damien Miller
On Wed, 28 Dec 2022, Todd C. Miller wrote: > OK millert@ as well. There is no point in trying to fix this locally > when upstream zlib will be changing it in the near(?) future. He committed to removing the K function declarations when C23 is finalised:

Re: clang 15 and zlib

2022-12-28 Thread Todd C . Miller
OK millert@ as well. There is no point in trying to fix this locally when upstream zlib will be changing it in the near(?) future. - todd

Re: clang 15 and zlib

2022-12-28 Thread Theo Buehler
On Wed, Dec 28, 2022 at 07:48:29PM +0100, Jeremie Courreges-Anglas wrote: > > To build src cleanly with clang-15 you'd need the diff below. The > alternative would be to patch our three zlib copies and wait for > upstream to fix it. A more comfortable alternative is to just neuter > the

clang 15 and zlib

2022-12-28 Thread Jeremie Courreges-Anglas
/arch/*/stand: work around clang 15 error in zlib Upstream issue: https://github.com/madler/zlib/issues/633 diff --git a/sys/arch/amd64/stand/Makefile.inc b/sys/arch/amd64/stand/Makefile.inc index 7e45fedcc49..d35dc33cb2d 100644 --- a/sys/arch/amd64/stand/Makefile.inc +++ b/sys/arch