Date: Thu, 5 Jan 2017 18:32:53 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r311457 - projects/clang400-import/share/mk Message-ID: <201701051832.v05IWrnR027080@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Thu Jan 5 18:32:53 2017 New Revision: 311457 URL: https://svnweb.freebsd.org/changeset/base/311457 Log: Disable the new -Waddress-of-packed-member warning for WARNS <= 1. Modified: projects/clang400-import/share/mk/bsd.sys.mk Modified: projects/clang400-import/share/mk/bsd.sys.mk ============================================================================== --- projects/clang400-import/share/mk/bsd.sys.mk Thu Jan 5 18:32:18 2017 (r311456) +++ projects/clang400-import/share/mk/bsd.sys.mk Thu Jan 5 18:32:53 2017 (r311457) @@ -84,6 +84,9 @@ CWARNFLAGS.clang+= -Wno-switch -Wno-swit .endif # WARNS <= 2 .if ${WARNS} <= 1 CWARNFLAGS.clang+= -Wno-parentheses +.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 40000 +CWARNFLAGS.clang+= -Wno-address-of-packed-member +.endif .endif # WARNS <= 1 .if defined(NO_WARRAY_BOUNDS) CWARNFLAGS.clang+= -Wno-array-bounds
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701051832.v05IWrnR027080>