From owner-svn-src-head@freebsd.org Fri Jul 22 20:35:30 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6365BBA1105; Fri, 22 Jul 2016 20:35:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41D651ED4; Fri, 22 Jul 2016 20:35:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3CDEDB98D; Fri, 22 Jul 2016 16:35:29 -0400 (EDT) From: John Baldwin To: Ruslan Bukin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r303188 - head/share/mk Date: Fri, 22 Jul 2016 13:09:57 -0700 Message-ID: <1980140.IgFQbb5iVz@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.3-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <201607221500.u6MF0c3S037470@repo.freebsd.org> References: <201607221500.u6MF0c3S037470@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 22 Jul 2016 16:35:29 -0400 (EDT) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 20:35:30 -0000 On Friday, July 22, 2016 03:00:38 PM Ruslan Bukin wrote: > Author: br > Date: Fri Jul 22 15:00:38 2016 > New Revision: 303188 > URL: https://svnweb.freebsd.org/changeset/base/303188 > > Log: > Add warn flags for GCC 6.1 compiler. > > Sponsored by: DARPA, AFRL > > Modified: > head/share/mk/bsd.sys.mk > > Modified: head/share/mk/bsd.sys.mk > ============================================================================== > --- head/share/mk/bsd.sys.mk Fri Jul 22 14:57:26 2016 (r303187) > +++ head/share/mk/bsd.sys.mk Fri Jul 22 15:00:38 2016 (r303188) > @@ -114,6 +114,11 @@ CWARNFLAGS+= -Wno-format > CWARNFLAGS+= -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address > .endif > > +# GCC 6.1.0 > +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 > +CWARNFLAGS+= -Wno-error=unused-const-variable= -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=misleading-indentation -Wno-error=tautological-compare > +.endif Extra trailing = in the first one as well? -- John Baldwin