From owner-svn-src-all@FreeBSD.ORG Sat Dec 17 21:58:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2497106566B; Sat, 17 Dec 2011 21:58:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 730048FC12; Sat, 17 Dec 2011 21:58:46 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:34d8:b0a6:3463:89c2] (unknown [IPv6:2001:7b8:3a7:0:34d8:b0a6:3463:89c2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B80585C37; Sat, 17 Dec 2011 22:58:45 +0100 (CET) Message-ID: <4EED109B.9020104@FreeBSD.org> Date: Sat, 17 Dec 2011 22:58:51 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111130 Thunderbird/9.0 MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <201112171721.pBHHLloU069166@svn.freebsd.org> <4C98B8D8-99F6-4996-A0FB-C128D9384180@lists.zabbadoz.net> In-Reply-To: <4C98B8D8-99F6-4996-A0FB-C128D9384180@lists.zabbadoz.net> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r228650 - head/usr.bin/netstat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 17 Dec 2011 21:58:46 -0000 On 2011-12-17 22:53, Bjoern A. Zeeb wrote: > > On 17. Dec 2011, at 17:21 , Dimitry Andric wrote: > >> Author: dim >> Date: Sat Dec 17 17:21:47 2011 >> New Revision: 228650 >> URL: http://svn.freebsd.org/changeset/base/228650 >> >> Log: >> In usr.bin/netstat/atalk.c, work around a clang false positive with >> printf format warnings and conditional operators. >> > > This does not sound like a good idea. Make clang work. It's already being worked on, see: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-November/018464.html and: http://llvm.org/bugs/show_bug.cgi?id=11313 Meanwhile, this is just a temporary workaround. If you think it is too disruptive, I can just add NO_WFORMAT to the Makefile instead.