svn commit: r269979 - head/sys/conf

Warner Losh imp at
Thu Aug 14 16:01:34 UTC 2014

Author: imp
Date: Thu Aug 14 16:01:33 2014
New Revision: 269979

  Streamline format extensions. Either the compiler supports them, and
  we enable them and format wordings. Or it doesn't, and we disable
  format warnings because the kernel uses the extensions pervasively.


Modified: head/sys/conf/
--- head/sys/conf/	Thu Aug 14 15:46:15 2014	(r269978)
+++ head/sys/conf/	Thu Aug 14 16:01:33 2014	(r269979)
@@ -29,14 +29,13 @@ 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-error-unused-function \
+		-Wno-error-parentheses-equality -Wno-error-unused-function
 # External compilers may not support our format extensions.  Allow them
 # to be disabled.  WARNING: format checking is disabled in this case.
 .if ${MK_FORMAT_EXTENSIONS} == "no"
-NO_WFORMAT=		-Wno-format
 FORMAT_EXTENSIONS=	-fformat-extensions

More information about the svn-src-all mailing list