[PATCH]: __attribute__((deprecated))

Ira Ruben ira@apple.com
Fri Dec 14 17:22:00 GMT 2001


At 10:55 PM -0200 12/14/01, Alexandre Oliva wrote:

>Still, not marking all indirect uses of a deprecated feature, instead
>marking only uses of explicitly deprecated feature, would help reduce
>the number of false positives should `typedef T1 T2;' be part of user
>code.  I'd rather have the warning only at the point where I use the
>deprecated type, not all over the place, which would make it hard to
>find all and only uses of the deprecated feature in my program.  I.e.,
>if I use 10 deprecated features in 10 places of my program, I get 10
>warnings, not 2037 from the 10 explicit uses plus 2027 from the other
>uses of my typedefs.  C-x ` would help me fix my program more quickly
>should I get only the 10 warnings, if you understand what I mean :-)

Your above mail and the one I just sent "crossed" each other (I sent 
mine before my emailer polled for new stuff).  It' looks like you are 
confirming more-or-less what I just wrote.  Ok.  I agree.  I'll take 
out the propagation.  Stay tuned.

Hey, it's seemed like a good idea at the time.  But then that's what 
this discussion list is for, i.e., discussions.

Thanks.

Ira



More information about the Gcc-patches mailing list