Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2016 13:15:23 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303438 - head/sys/conf
Message-ID:  <201607281315.u6SDFNih060626@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Thu Jul 28 13:15:23 2016
New Revision: 303438
URL: https://svnweb.freebsd.org/changeset/base/303438

Log:
  o Add warn flags required to build modules with GCC 6.1;
  o Sort GCC 4.8 warn flags.
  
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Thu Jul 28 12:25:58 2016	(r303437)
+++ head/sys/conf/kern.mk	Thu Jul 28 13:15:23 2016	(r303438)
@@ -45,13 +45,23 @@ CLANG_NO_IAS34= -no-integrated-as
 .if ${COMPILER_VERSION} >= 40800
 # Catch-all for all the things that are in our tree, but for which we're
 # not yet ready for this compiler.
-CWARNEXTRA?=	-Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable \
-		-Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized \
-		-Wno-error=array-bounds -Wno-error=address \
-		-Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes \
-		-Wno-error=strict-overflow -Wno-error=overflow
+CWARNEXTRA?=	-Wno-error=address				\
+		-Wno-error=aggressive-loop-optimizations	\
+		-Wno-error=array-bounds				\
+		-Wno-error=attributes				\
+		-Wno-error=cast-qual				\
+		-Wno-error=enum-compare				\
+		-Wno-error=inline				\
+		-Wno-error=maybe-uninitialized			\
+		-Wno-error=overflow				\
+		-Wno-error=sequence-point			\
+		-Wno-error=strict-overflow			\
+		-Wno-error=unused-but-set-variable
 .if ${COMPILER_VERSION} >= 60100
-CWARNEXTRA+=	-Wno-error=nonnull-compare -Wno-error=shift-overflow
+CWARNEXTRA+=	-Wno-error=misleading-indentation		\
+		-Wno-error=nonnull-compare			\
+		-Wno-error=shift-overflow			\
+		-Wno-error=tautological-compare
 .endif
 .else
 # For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607281315.u6SDFNih060626>