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] [PR19508] Do not apply attributes to template parms


"Giovanni Bajo" <giovannibajo@libero.it> writes:

[...]


| I ended up with this patch, which just avoids to apply the attributes to a
| TEMPLATE_TYPE_PARM, and also warns the user about the attribute being ignored.
| I am using a warning() rather than a sorry(), but I am not sure it is the right

We sorry() for things we don't implement or implement incorrectly.
That gives the user a clue that it is not her fault and yes we're
aware of the deficiency in that area.

-- Gaby


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