Date: Fri, 16 Dec 2011 13:44:37 +0100 From: Stefan Esser <se@freebsd.org> To: Alexander Best <arundel@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: strange printf(9) format specifier ("Z") in dev/drm code Message-ID: <4EEB3D35.2060707@freebsd.org> In-Reply-To: <20111216112735.GB17565@freebsd.org> References: <20111204222203.GA8898@freebsd.org> <20111206215435.GA14529@zim.MIT.EDU> <20111216112735.GB17565@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EEB3D35.2060707>