public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Manuel López-Ibáñez" <lopezibanez@gmail.com>
To: "Gabriel Dos Reis" <gdr@integrable-solutions.net>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: Wenum-promotion (PR7651 Define -Wextra strictly in terms of other warning flags)
Date: Sun, 07 Jan 2007 13:55:00 -0000	[thread overview]
Message-ID: <6c33472e0701070555p53578cacve29193f4fca31665@mail.gmail.com> (raw)
In-Reply-To: <m37ivzc5ug.fsf@zeus.integrable-solutions.net>

On 07 Jan 2007 14:40:55 +0100, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:
> "Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
>
> | :ADDPATCH c++:
> |
> | This patch continues the effort to fix PR7651 [1].
> |
> | A new option -Wenum-promotion takes over the warning for an enumerator
> | and a non-enumerator appearing in a conditional expression.
>
> I would like to see this case instead covered by the conversion/coercion
> warning switch.
>
> Yes, I know you're trying to preserve existing practice; but we have
> to keep in the fore that the current situation is not the result of
> systematic principles, and now is a good to time to rationalize all
> that (and thanks for your contribution in this area!).

That could be done but such patch depends on
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00799.html being approved
first.

Also, would this warning make sense for the C front-end ?

Cheers,

Manuel.

  reply	other threads:[~2007-01-07 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-07 12:53 Manuel López-Ibáñez
2007-01-07 13:41 ` Gabriel Dos Reis
2007-01-07 13:55   ` Manuel López-Ibáñez [this message]
2007-01-07 13:59     ` Manuel López-Ibáñez
2007-01-08  5:38       ` Gabriel Dos Reis

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=6c33472e0701070555p53578cacve29193f4fca31665@mail.gmail.com \
    --to=lopezibanez@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdr@integrable-solutions.net \
    /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).