This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __attribute__ ((deprecated))
- To: green at redhat dot com
- Subject: Re: __attribute__ ((deprecated))
- From: Stan Shebs <shebs at apple dot com>
- Date: Tue, 24 Apr 2001 13:39:06 -0700
- CC: tim at hollebeek dot com, Tom Tromey <tromey at redhat dot com>, Philipp Thomas <pthomas at suse dot de>, gcc at gcc dot gnu dot org
- References: <NEBBKJDPKLNNENPPIHCPKEJKLBAA.green@redhat.com>
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