svn commit: r268882 - in stable: 10/sys/conf 9/sys/conf

Dimitry Andric dim at FreeBSD.org
Sat Jul 19 18:33:10 UTC 2014


Author: dim
Date: Sat Jul 19 18:33:09 2014
New Revision: 268882
URL: http://svnweb.freebsd.org/changeset/base/268882

Log:
  MFC r268774:
  
  After r261991, clang warnings about unused functions in the kernel were
  completely silenced.  Make sure these warnings appear again, so there is
  some incentive to fix them, but do not error out the whole kernel build
  for them.
  
  Noticed by:	steven at pyro.eu.org
  PR:		191867

Modified:
  stable/10/sys/conf/kern.mk
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/9/sys/conf/kern.mk
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/10/sys/conf/kern.mk
==============================================================================
--- stable/10/sys/conf/kern.mk	Sat Jul 19 15:12:38 2014	(r268881)
+++ stable/10/sys/conf/kern.mk	Sat Jul 19 18:33:09 2014	(r268882)
@@ -29,7 +29,7 @@ NO_WSOMETIMES_UNINITIALIZED=	-Wno-error-
 # 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 \
-		-Wno-error-parentheses-equality -Wno-unused-function \
+		-Wno-error-parentheses-equality -Wno-error-unused-function \
 		${NO_WFORMAT}
 .endif
 


More information about the svn-src-all mailing list