This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __attribute__((deprecated)) resubmission


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]