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: diagnostic.c reorganization


Zack Weinberg <zack@codesourcery.com> writes:

[...]

| +/* A "pedantic" warning.  Use this for code which triggers a
| +   diagnostic which is required by the relevant language
| +   specification, but which is considered unhelpful (i.e. there isn't
| +   anything *really* wrong with the construct in the language as she
| +   is spoke).

This comment is unhelpful and inaccurate.  Please remove the part

   (i.e. there isn't anything *really* wrong with the construct in the
   language as she is spoke).

and change "is considered unhelpful" to "GCC consideres too restrictive".

That woule be much more close to the reality.

Thanks,

-- Gaby


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