From owner-svn-src-all@freebsd.org Mon Jun 4 16:21:19 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93362FF2D63; Mon, 4 Jun 2018 16:21:19 +0000 (UTC) (envelope-from br@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F33170A2C; Mon, 4 Jun 2018 16:21:19 +0000 (UTC) (envelope-from br@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E51927D4C; Mon, 4 Jun 2018 16:21:18 +0000 (UTC) (envelope-from br@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w54GLIWf004113; Mon, 4 Jun 2018 16:21:18 GMT (envelope-from br@FreeBSD.org) Received: (from br@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w54GLInF004112; Mon, 4 Jun 2018 16:21:18 GMT (envelope-from br@FreeBSD.org) Message-Id: <201806041621.w54GLInF004112@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: br set sender to br@FreeBSD.org using -f From: Ruslan Bukin Date: Mon, 4 Jun 2018 16:21:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334620 - head/share/mk X-SVN-Group: head X-SVN-Commit-Author: br X-SVN-Commit-Paths: head/share/mk X-SVN-Commit-Revision: 334620 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 16:21:19 -0000 Author: br Date: Mon Jun 4 16:21:18 2018 New Revision: 334620 URL: https://svnweb.freebsd.org/changeset/base/334620 Log: Sort GCC warning flags and remove duplicates. Sponsored by: DARPA, AFRL Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk ============================================================================== --- head/share/mk/bsd.sys.mk Mon Jun 4 16:20:22 2018 (r334619) +++ head/share/mk/bsd.sys.mk Mon Jun 4 16:21:18 2018 (r334620) @@ -141,19 +141,17 @@ CWARNFLAGS+= -Wno-error=misleading-indentation \ # GCC 7.1.0 .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 70100 -CWARNFLAGS+= -Wno-error=deprecated \ - -Wno-error=pointer-compare \ +CWARNFLAGS+= -Wno-error=bool-operation \ + -Wno-error=deprecated \ + -Wno-error=expansion-to-defined \ + -Wno-error=format-overflow \ -Wno-error=format-truncation \ -Wno-error=implicit-fallthrough \ - -Wno-error=expansion-to-defined \ -Wno-error=int-in-bool-context \ - -Wno-error=bool-operation \ - -Wno-error=format-overflow \ - -Wno-error=stringop-overflow \ -Wno-error=memset-elt-size \ - -Wno-error=int-in-bool-context \ - -Wno-error=unused-const-variable \ - -Wno-error=nonnull + -Wno-error=nonnull \ + -Wno-error=pointer-compare \ + -Wno-error=stringop-overflow .endif # How to handle FreeBSD custom printf format specifiers.