[C++] PATCH c++/17542

Giovanni Bajo giovannibajo@libero.it
Fri Oct 29 16:43:00 GMT 2004


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




More information about the Gcc-patches mailing list