This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] C99 initializers for four nscd files
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Art Haas <ahaas at airmail dot net>, <libc-alpha at sources dot redhat dot com>
- Date: Sun, 15 Dec 2002 22:56:13 +0000 (GMT)
- Subject: Re: [PATCH] C99 initializers for four nscd files
On Sun, 15 Dec 2002, Roland McGrath wrote:
> There is nothing I see wrong with this. But I wonder, what is your
> motivation for changing them? glibc has always used (and will always use)
> GCC extensions freely in its source code.
The old syntax has been obsolete since GCC 2.5 (the GCC 2.5 release notes
said that the old syntax was replaced by what became the C99 syntax,
making no mention that the old syntax stayed around, although the manual
didn't reflect this until 3.0). At some point the if (pedantic) around
the deprecation warning will probably be removed.
--
Joseph S. Myers
jsm28@cam.ac.uk