Date: Mon, 4 Jun 2018 16:21:18 +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: r334620 - head/share/mk Message-ID: <201806041621.w54GLInF004112@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806041621.w54GLInF004112>