public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c/9072: -Wconversion should be split into two distinct flags
Date: Sun, 29 Dec 2002 00:46:00 -0000	[thread overview]
Message-ID: <20021229084602.17952.qmail@sources.redhat.com> (raw)

The following reply was made to PR c/9072; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: Segher Boessenkool <segher@koffie.nl>
Cc: 128950@bugs.debian.org,  gcc-patches@gcc.gnu.org, 
 gcc-gnats@gcc.gnu.org,
	  debian-gcc@lists.debian.org
Subject: Re: c/9072: -Wconversion should be split into two distinct flags
Date: Sun, 29 Dec 2002 00:37:58 -0800

 Segher Boessenkool <segher@koffie.nl> writes:
 > Matthias Klose wrote:
 >> It'd be nice if these two behaviors were two controlled via two
 >> separate flags.  The second behavior would have caught a bug I've been
 >> hunting for hours, while the first behavior is very undesirable to me
 >> (and useless since I also compile with -Wstrict-prototypes).
 >
 > I remember having been annoyed by -Wconversion its behaviour, too.  Maybe
 > this patch will do what you want?
 
 I'm very much in favor of making -Wconversion more useful, but is
 there any reason not to shift the argument-type-conversion warnings
 entirely over to -Wtraditional?  Particularly if the warning is
 avoided for prototypes in system headers (so that 'sinf' and the like
 raise no complaints) -- this would, for instance, catch the occasional
 problem we have with arguments of type 'bool' in GCC itself.
 
 Then -Wconversion would be entirely for dubious type conversions on
 assignment.
 
 zw


             reply	other threads:[~2002-12-29  8:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-29  0:46 Zack Weinberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-03 16:36 Wolfgang Bangerth
2003-02-03  2:36 Agthorr
2003-02-03  2:06 Segher Boessenkool
2003-02-03  0:16 Joseph S. Myers
2003-02-02 22:54 bangerth
2002-12-29  4:06 Joseph S. Myers
2002-12-29  1:06 Zack Weinberg
2002-12-29  0:56 Segher Boessenkool
2002-12-28 22:16 Segher Boessenkool
2002-12-27 15:36 Matthias Klose

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=20021229084602.17952.qmail@sources.redhat.com \
    --to=zack@codesourcery.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /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).