From: Paolo Bonzini <bonzini@gnu.org>
To: Eric Gallager <egall@gwmail.gwu.edu>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] cpp/c: Add -Wexpansion-to-defined
Date: Tue, 09 Aug 2016 21:35:00 -0000 [thread overview]
Message-ID: <8693551e-34f9-60db-8d61-ce5d06c5a452@gnu.org> (raw)
In-Reply-To: <CAMfHzOtLXCGjQ4ZEUMiYmnkx5=-DrnA1eaZ_1c=8pm1_5rbhcA@mail.gmail.com>
On 09/08/2016 20:44, Eric Gallager wrote:
> Hi, I'm just a lurker, but...
>
> On 8/9/16, Paolo Bonzini <bonzini@gnu.org> wrote:
>> Index: gcc/c-family/c.opt
>> ===================================================================
>> --- gcc/c-family/c.opt (revision 239276)
>> +++ gcc/c-family/c.opt (working copy)
>> @@ -506,6 +506,10 @@ Wdouble-promotion
>> C ObjC C++ ObjC++ Var(warn_double_promotion) Warning
>> Warn about implicit conversions from \"float\" to \"double\".
>>
>> +Wexpansion-to-defined
>> +C ObjC C++ ObjC++ CppReason(CPP_W_EXPANSION_TO_DEFINED)
>> Var(cpp_warn_expansion_to_defined) Init(-1) Warning
>> +Warn if an undefined macro is used in an #if directive.
>> +
>
> Isn't "Warn if an undefined macro is used in an #if directive" the
> same description that -Wundef uses in c.opt? Did you copy and paste
> and forget to update that part?
Yes, of course. Thanks!
Paolo
prev parent reply other threads:[~2016-08-09 21:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-09 16:00 Paolo Bonzini
2016-08-09 18:30 ` Manuel López-Ibáñez
2016-08-09 21:21 ` Paolo Bonzini
2016-08-10 0:49 ` Manuel López-Ibáñez
2016-08-10 8:45 ` Paolo Bonzini
2016-08-09 18:44 ` Eric Gallager
2016-08-09 21:35 ` Paolo Bonzini [this message]
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=8693551e-34f9-60db-8d61-ce5d06c5a452@gnu.org \
--to=bonzini@gnu.org \
--cc=egall@gwmail.gwu.edu \
--cc=gcc-patches@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).