Date: Tue, 03 Sep 2019 14:08:03 -0000 From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r346412 - head/sys/conf Message-ID: <201904192008.x3JK8jbD016014@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Fri Apr 19 20:08:45 2019 New Revision: 346412 URL: https://svnweb.freebsd.org/changeset/base/346412 Log: kernel build: Disable unhelpful GCC warning (tripped after r346352) -Wformat-zero-length does not highlight any particularly wrong code and it is especially meaningless for device_printf(). Turn it off entirely to remove a source of false positives. Sponsored by: Dell EMC Isilon Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Fri Apr 19 20:06:22 2019 (r346411) +++ head/sys/conf/kern.mk Fri Apr 19 20:08:45 2019 (r346412) @@ -61,7 +61,8 @@ CWARNEXTRA?= -Wno-error=address \ CWARNEXTRA+= -Wno-error=misleading-indentation \ -Wno-error=nonnull-compare \ -Wno-error=shift-overflow \ - -Wno-error=tautological-compare + -Wno-error=tautological-compare \ + -Wno-format-zero-length .endif .if ${COMPILER_VERSION} >= 70200 CWARNEXTRA+= -Wno-error=memset-elt-size
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904192008.x3JK8jbD016014>