summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-24 18:57:42 +0000
committerdim <dim@FreeBSD.org>2011-12-24 18:57:42 +0000
commit85cd242830bea7e3fd0939d6731aef8a849f42cd (patch)
tree64736f14a25b19c17e391eb3a4aaca45cd0b6fa9 /sys/conf
parentf3f015b9784adf919955efad8f26b7e240e7d16d (diff)
downloadFreeBSD-src-85cd242830bea7e3fd0939d6731aef8a849f42cd.zip
FreeBSD-src-85cd242830bea7e3fd0939d6731aef8a849f42cd.tar.gz
Make another clang warning, -Wparentheses-equality, non-fatal during
kernel builds. All the instances of this warning in our tree are completely harmless, and many people seem to like adding extra parentheses to make precedence clearer. MFC after: 1 week
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index fddd866..0410b24 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -23,7 +23,8 @@ NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow
# Several other warnings which might be useful in some cases, but not severe
# enough to error out the whole kernel build. Display them anyway, so there is
# some incentive to fix them eventually.
-CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body
+CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
+ -Wno-error-parentheses-equality
.endif
#
OpenPOWER on IntegriCloud