From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 16 12:45:44 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1101065676 for ; Fri, 16 Dec 2011 12:45:44 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm24-vm0.bullet.mail.sp2.yahoo.com (nm24-vm0.bullet.mail.sp2.yahoo.com [98.139.91.226]) by mx1.freebsd.org (Postfix) with SMTP id CF3908FC18 for ; Fri, 16 Dec 2011 12:45:44 +0000 (UTC) Received: from [98.139.91.68] by nm24.bullet.mail.sp2.yahoo.com with NNFMP; 16 Dec 2011 12:45:44 -0000 Received: from [208.71.42.205] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 16 Dec 2011 12:44:44 -0000 Received: from [127.0.0.1] by smtp216.mail.gq1.yahoo.com with NNFMP; 16 Dec 2011 12:44:44 -0000 X-Yahoo-Newman-Id: 395061.40140.bm@smtp216.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6DgGJM8VM1kGbLBtIBrOCMWJxsE0IwWJ9X.vJGGcQZgaBvI _F8NCxrnSUPbm0We5apccTG0bY7NIouV4ybzUnAXttiaH1RN8OCL97sSanho 3.rBcxIkZJJGHUEMZsFGIRGIQadIayQLTUc_ily3tc6hs0TOFifraCY4yCJw TUFyKxOqlFqVq8..c1q.rD8lRya4Hbv7BnkX23RWKviUxxC6iX0yMw0Lp30b UGIxXRjRxCbOBsS7RtVQYHosGt9LYHaJVG0g14G8BZWE00fm65ccPqMeIBVD _ZbBjlAZZGCWMipqFbqARZUT6VKFd9m5leg1H2I_dDR6tB7XZHWPXcLH6AHP NP7EKwiySKJMHWIDYZMgUDbBHvPYK0dPuq34uvGLAaHPXBQfpNMseZGdSmkz m2OeGotx8sLtf X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.20] (se@81.173.157.6 with plain) by smtp216.mail.gq1.yahoo.com with SMTP; 16 Dec 2011 04:44:43 -0800 PST Message-ID: <4EEB3D35.2060707@freebsd.org> Date: Fri, 16 Dec 2011 13:44:37 +0100 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Alexander Best References: <20111204222203.GA8898@freebsd.org> <20111206215435.GA14529@zim.MIT.EDU> <20111216112735.GB17565@freebsd.org> In-Reply-To: <20111216112735.GB17565@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: strange printf(9) format specifier ("Z") in dev/drm code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 12:45:45 -0000 Am 16.12.2011 12:27, schrieb Alexander Best: > On Tue Dec 6 11, David Schultz wrote: >> On Sun, Dec 04, 2011, Alexander Best wrote: >>> ... i couldn't find a reference to an upercase "Z" in the printf(9) man page. >>> i talked to dinoex on #freebsd-clang (EFNet) and he said that the "Z" might >>> come from linux'es libc5 and is the equaivalent to glibc's "z". >>> >>> can we adjust those lines, so the clang warnings disappear? >> >> Yes, 'Z' is an alias for 'z' that is deprecated in glibc and >> unsupported in FreeBSD, so changing the case should fix it. > > any chance we could get the following patch committed? Commited to head as r228572. I do not see a need for an MFC as long as clang does not become the standard compiler in FreeBSD-9. Regards, STefan