Date: Wed, 21 Dec 2022 14:17:50 -0800 From: John Baldwin <jhb@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org> Subject: Re: git: 2e08e4b75ea1 - main - zfs: Fix build with GCC 12. Message-ID: <12f43758-5ab8-87aa-db4e-8db1332638f0@FreeBSD.org> In-Reply-To: <D84F3CC0-61F0-4F06-8FBB-E57DEC4AD5C7@FreeBSD.org> References: <202212211849.2BLInjuQ084643@gitrepo.freebsd.org> <D84F3CC0-61F0-4F06-8FBB-E57DEC4AD5C7@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/21/22 2:01 PM, Dimitry Andric wrote: > On 21 Dec 2022, at 19:49, John Baldwin <jhb@freebsd.org> wrote: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=2e08e4b75ea1080c224a33baf62199d893dc322d >> >> commit 2e08e4b75ea1080c224a33baf62199d893dc322d >> Author: John Baldwin <jhb@FreeBSD.org> >> AuthorDate: 2022-12-21 18:49:23 +0000 >> Commit: John Baldwin <jhb@FreeBSD.org> >> CommitDate: 2022-12-21 18:49:23 +0000 >> >> zfs: Fix build with GCC 12. >> >> Silence -Winfinite-recursion for ldo.c in lua and -Wstringop-overread >> for nvpair.c. >> >> Reviewed by: mm >> Differential Revision: https://reviews.freebsd.org/D37631 > ... >> --- a/sys/conf/kern.mk >> +++ b/sys/conf/kern.mk >> @@ -81,6 +81,8 @@ CWARNEXTRA+= -Wno-address-of-packed-member \ >> CWARNEXTRA+= -Wno-error=nonnull \ >> -Wno-dangling-pointer \ >> -Wno-zero-length-bounds >> +NO_WINFINTE_RECURSION= -Wno-infinite-recursion >> +NO_WSTRINGOP_OVERREAD= -Wno-stringop-overread >> .endif >> .endif > > s/INFINTE/INFINITE/g ? :-) Oof. :-P -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12f43758-5ab8-87aa-db4e-8db1332638f0>