Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2011 22:48:00 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: strange printf(9) format specifier ("Z") in dev/drm code
Message-ID:  <20111206224800.GA20393@freebsd.org>
In-Reply-To: <20111206215435.GA14529@zim.MIT.EDU>
References:  <20111204222203.GA8898@freebsd.org> <20111206215435.GA14529@zim.MIT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

i guess turning the "Z"'s into "z"'s would be the best procedure then.

cheers.
alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111206224800.GA20393>