This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The Manual on Extentions to the C Language Family
- To: Hideaki Hase <hase at mech dot usp dot ac dot jp>
- Subject: Re: The Manual on Extentions to the C Language Family
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 3 Jan 2001 06:58:12 +0000 (GMT)
- cc: <gcc at gcc dot gnu dot org>
On Wed, 3 Jan 2001, Hideaki Hase wrote:
> In the 3rd par. in "Referring to a Type with typeof,"
> does an array of functions differ form an array of POINTERS TO functions?
There's no such thing as an array of functions, only an array of pointers
to functions. The manual should refer to an array of pointers to
functions.
> In the 6th and the 12th pars. in "Labeled Elements in Initializers,"
> I've interpret 'obsolete since GCC 2.5' as that GCC 2.5 and laters treat
> them obsolete, but is it correct?
It means: the GCC 2.5 release notes stated that the syntax was now the
syntax that eventually appeared in C99 (with no mention even of continued
support for the old syntax), but the manual didn't reflect a preference
for the standard syntax until recently. (I did wonder whether the
-pedantic warnings for the old syntax should actually be on by default -
given how long the standard syntax has been available - though that would
no doubt irritate Linux kernel and glibc people (at least) and we might
want to make -Wno-deprecated an option applying to C as well as C++.)
--
Joseph S. Myers
jsm28@cam.ac.uk