svn commit: r346412 - head/sys/conf
Conrad Meyer
cem at FreeBSD.org
Fri Apr 19 20:08:46 UTC 2019
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
More information about the svn-src-head
mailing list