svn commit: r304547 - projects/clang390-import/cddl/lib/libnvpair
Dimitry Andric
dim at FreeBSD.org
Sat Aug 20 21:34:42 UTC 2016
Author: dim
Date: Sat Aug 20 21:34:41 2016
New Revision: 304547
URL: https://svnweb.freebsd.org/changeset/base/304547
Log:
For now, don't error out on warnings about undefined behavior calling
va_start() on the 'which' parameter of nvlist_prtctl_dofmt().
Modified:
projects/clang390-import/cddl/lib/libnvpair/Makefile
Modified: projects/clang390-import/cddl/lib/libnvpair/Makefile
==============================================================================
--- projects/clang390-import/cddl/lib/libnvpair/Makefile Sat Aug 20 20:56:36 2016 (r304546)
+++ projects/clang390-import/cddl/lib/libnvpair/Makefile Sat Aug 20 21:34:41 2016 (r304547)
@@ -31,4 +31,7 @@ CFLAGS+= -I${.CURDIR}/../../../cddl/comp
# ARENDER(pctl, nvlist_array, nvl, name, val, nelem);
#
CFLAGS+= -Wno-format-security
+# For now, don't error out on warnings about undefined behavior calling
+# va_start() on the 'which' parameter of nvlist_prtctl_dofmt().
+CWARNFLAGS.clang+= -Wno-error-varargs
.include <bsd.lib.mk>
More information about the svn-src-projects
mailing list