This is the mail archive of the gcc@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]

Re: [RFC] Cleaning and extening the diagnostics machinery


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

| On 31 May 2001, Gabriel Dos Reis wrote:
| 
| > A warning for an unimplemented fonctionality?  What usage do you see
| > for it?
| 
| There are at least a couple of uses of this in the C front end:
| 
| c-parse.in (typename):
| 
|                   /* We don't yet support attributes here.  */
|                   if (attrs != NULL_TREE)
|                     warning ("attributes on type name ignored");
| 
| (There are many places where attributes ought to work, but don't and have 
| funny effects.  The normal practice of GCC on attributes it doesn't 
| understand or handle is to ignore them with a warning - in this case, the 
| attributes may be valid, but this place for them isn't implemented.)

Thanks a lot for these detailed helpful explanations.

-- Gaby


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