This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Named warnings
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: DJ Delorie <dj at redhat dot com>
- Cc: <shebs at apple dot com>, <gcc at gcc dot gnu dot org>
- Date: Fri, 24 Jan 2003 20:50:14 +0000 (GMT)
- Subject: Re: RFC: Named warnings
On Fri, 24 Jan 2003, DJ Delorie wrote:
> warn ("functions.retval.type-defaults", "...");
>
> And somewhere *else* we figure out whether this warning should be
> enabled or not based on the c89/c99/pedantic/-W options.
That's what I want to avoid - I want it to be clear from reading the code
whether it is correct in terms of giving the appropriate warnings for the
standard version (and errors with -pedantic-errors), not depend on a huge
list elsewhere of which warnings are constraints in which standards being
correct.
--
Joseph S. Myers
jsm28@cam.ac.uk