This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: charmap-dir warning
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: <libc-alpha at sources dot redhat dot com>
- Date: Sun, 20 Oct 2002 01:42:55 +0100 (BST)
- Subject: Re: charmap-dir warning
On Thu, 17 Oct 2002, Ulrich Drepper wrote:
> > Is the charmap-dir.c warning problematic?
> >
>
> gcc doesn't handle the 'a' flag, not format, according to what printf does.
GCC deliberately follows the standard in C99 mode rather than the
(documented in CONFORMANCE) glibc bug of always overriding the standard
with the pre-C99 extension when certain characters follow %a in scanf
formats.
--
Joseph S. Myers
jsm28@cam.ac.uk