[RFC] Cleaning and extening the diagnostics machinery
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Thu May 31 12:40:00 GMT 2001
"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
More information about the Gcc
mailing list