This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: __attribute__((deprecated)) resubmission
- To: Ira Ruben <ira at apple dot com>
- Subject: Re: __attribute__((deprecated)) resubmission
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 16 May 2001 01:21:18 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
On Tue, 15 May 2001, Ira Ruben wrote:
> * c-decl.c (c_decode_option): Include depricated in -Wall.
^
(a) Please avoid this standard spelling error, which I eliminated from GCC
last November.
(b) Why turn the option on again for -Wall with it on by default?
> attribute specification inside double parentheses. Fourteen attributes,
You need to update the number "Fourteen".
> by an attribute specification inside double parentheses. Eight
Similarly here.
> + @item deprecated
> + @cindex @code{deprecated} function attribute
> + The @code{deprecated} attribute results in a warning if the variable
The index entry for the variable attribute shouldn't refer to "function
attribute".
I don't see any testcases in the patch; they are necessary.
--
Joseph S. Myers
jsm28@cam.ac.uk