This is the mail archive of the gcc@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))


Anthony Green wrote:
> 
> Tim wrote:
> > There should be a mechanism to convey this information to the user,
> > even if it has to be in English.
> 
> ...assuming the authors of the libraries are writing in English.
> 
> Why not just have the warning refer to the source of the annotated
> declaration?

I like that idea - it's easier to be expansive on the details of a
situation in a comment block in the header, plus then we don't
have to dink around with storing the warning string in trees.

Stan


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