This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] PATCH c++/17542
On 29 Oct 2004 10:41:19 -0500, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
> "Giovanni Bajo" <giovannibajo@libero.it> writes:
>
> | 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.
>
> I disagree. If we really want to be anal precise about it, we should
> be displaying the real class-key written by user.
Yes, is that hard to do?
Jason