This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR c/36892: Support __attribute__((deprecated("text string")))
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, acm at google dot com
- Date: Thu, 7 May 2009 19:07:41 +0000 (UTC)
- Subject: Re: PATCH: PR c/36892: Support __attribute__((deprecated("text string")))
- References: <20090506002950.GA23146@lucon.org>
On Tue, 5 May 2009, H.J. Lu wrote:
> * gcc.dg/deprecated-4.c: Likewise.
> * gcc.dg/deprecated-5.c: Likewise.
> * gcc.dg/deprecated-6.c: Likewise.
deprecated-5.c and deprecated-6.c look like copies of deprecated-2.c and
deprecated-3.c; why are you adding them?
The dg-warning lines in the new tests don't appear actually to be testing
that the "text string" appears in the diagnostic, but that's an important
thing to test here.
--
Joseph S. Myers
joseph@codesourcery.com