Author: dim
Date: Sat Dec 24 18:57:42 2011
New Revision: 228867
URL: http://svn.freebsd.org/changeset/base/228867

Log:
  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

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk       Sat Dec 24 18:11:54 2011        (r228866)
+++ head/sys/conf/kern.mk       Sat Dec 24 18:57:42 2011        (r228867)
@@ -23,7 +23,8 @@ NO_WSHIFT_COUNT_OVERFLOW=     -Wno-shift-cou
 # 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
 
 #
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to