From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Phil Edwards <phil@jaj.com>
Cc: <gcc@gcc.gnu.org>
Subject: Re: Rename -W to -Wextra ?
Date: Mon, 03 Jun 2002 05:18:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.33.0206031312070.30324-100000@kern.srcf.societies.cam.ac.uk> (raw)
In-Reply-To: <20020603073501.A9892@disaster.basement.lan>
On Mon, 3 Jun 2002, Phil Edwards wrote:
> That's 20 separate options. And remember that they are for corner cases, so
> we'd end up with -Wunsigned-compared-against-zero-with-< and -Wempty-if-body
> and -Wsubscripting-an-array-declared-as-register...
Some things can probably go together. Others can go in existing options,
possibly in -Wall - for example, warnings for "a <= b <= c" could
reasonably be put in -Wparentheses.
> The idea of a single option to warn about "oddball things which are usually
> suspect, but not always" makes sense to me. It's just the spelling that
> GCC got wrong.
As an external option, like -Wall, yes. As an internal variable, I don't
like the use of extra_warnings to control many disparate things, even if
not everything has an external option to control it separately.
--
Joseph S. Myers
jsm28@cam.ac.uk
next prev parent reply other threads:[~2002-06-03 12:18 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-03 0:48 Phil Edwards
2002-06-03 2:56 ` Russ Allbery
2002-06-03 3:26 ` Phil Edwards
2002-06-03 3:52 ` Joseph S. Myers
2002-06-03 4:35 ` Phil Edwards
2002-06-03 5:18 ` Joseph S. Myers [this message]
2002-06-03 6:19 ` Phil Edwards
2002-06-03 7:13 ` Kaveh R. Ghazi
2002-06-03 16:08 ` Russ Allbery
2002-06-03 20:02 ` Kaveh R. Ghazi
2002-06-03 22:54 ` Joe Buck
2002-06-04 8:39 ` Phil Edwards
2002-06-04 9:33 ` Joe Buck
2002-06-04 9:59 ` Joseph S. Myers
[not found] ` <Pine.LNX.4.33.0206041733540.26576-100000@kern.srcf.societi es.cam.ac.uk>
2002-06-04 11:41 ` Andrea 'Fyre Wyzard' Bocci
2002-06-04 12:27 ` Phil Edwards
2002-06-03 23:41 ` Fergus Henderson
2002-06-21 21:45 ` David O'Brien
2002-06-03 5:23 ` Neil Booth
2002-06-03 11:27 ` Marc Espie
2002-06-04 0:09 ` Ross Smith
2002-06-03 7:07 Wheeler, Fred (Research)
2002-06-03 11:29 ` mike stump
2002-06-03 16:12 ` Russ Allbery
2002-06-03 17:09 ` Neil Booth
2002-06-03 23:53 ` Fergus Henderson
2002-06-04 0:49 ` Joe Buck
2002-06-04 2:15 ` Marc Espie
2002-10-31 9:34 ` Fergus Henderson
2002-11-01 6:40 Wheeler, Fred (Research)
2002-11-01 11:05 ` Joe Buck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.33.0206031312070.30324-100000@kern.srcf.societies.cam.ac.uk \
--to=jsm28@cam.ac.uk \
--cc=gcc@gcc.gnu.org \
--cc=phil@jaj.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).