This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++] PATCH c++/17542


Jason Merrill <jason@redhat.com> writes:

| 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?

I have had offline conversation with Matt, and it turns out that we
already have code around to do that.  I believe Matt is planing to
update his patch.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]