From owner-svn-src-projects@freebsd.org Sat Aug 20 21:34:42 2016 Return-Path: Delivered-To: svn-src-projects@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 AC840BC0B74 for ; Sat, 20 Aug 2016 21:34:42 +0000 (UTC) (envelope-from dim@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 mx1.freebsd.org (Postfix) with ESMTPS id 792451A62; Sat, 20 Aug 2016 21:34:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KLYfN7050568; Sat, 20 Aug 2016 21:34:41 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7KLYfUs050567; Sat, 20 Aug 2016 21:34:41 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201608202134.u7KLYfUs050567@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sat, 20 Aug 2016 21:34:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r304547 - projects/clang390-import/cddl/lib/libnvpair X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 21:34:42 -0000 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