This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] PATCH c++/17542
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: "Matt Austern" <austern at apple dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Oct 2004 17:39:19 +0200
- Subject: Re: [C++] PATCH c++/17542
- References: <9A5B94DA-29BD-11D9-84FF-000A95BCF344@apple.com>
Matt Austern wrote:
> + if (declspecs->attributes)
> + {
> + cp_warning_at ("attribute ignored in declaration of %q#T", t);
> + cp_warning_at ("attribute for %q#T must follow the class key",
> t);
> + }
I would think that 'class key' is a legal term which is not common in C++
development. Probably saying "enum/class/struct keyword" is a little easier to
follow.
Also, I reckon the second line should be an inform() but do we have
cp_inform_at?
Giovanni Bajo