From: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
To: Paolo Carlini <paolo.carlini@oracle.com>
Cc: gcc Patches <gcc-patches@gcc.gnu.org>, Jason Merrill <jason@redhat.com>
Subject: Re: [C++ patch] PR 65858
Date: Thu, 30 Apr 2015 21:15:00 -0000 [thread overview]
Message-ID: <CAAgBjMnHwst2fkZatbwmNsne8c-oUSsJrwimFEC27Esu3bezXA@mail.gmail.com> (raw)
In-Reply-To: <5542858A.7050703@oracle.com>
On 1 May 2015 at 01:12, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi again,
>
> On 04/30/2015 08:45 PM, Paolo Carlini wrote:
>>
>> .. also, your patch doesn't seem to fix the case of -w instead of
That could be fixed as follows:
if (!warn_narrowing || inhibit_warnings)
ok = true;
else
// pedwarn
>> -Wno-narrowing. I think we want to check the return value of the pedwarn
>> instead. I'm testing something.
>
> I'm finishing testing the below: with hindsight, checking the return value
> of the pedwarn makes a lot of sense to me!
Indeed, checking return value of pedwarn is better compared to testing
on warning flags.
Thanks for pointing out -;)
Regards,
Prathamesh
>
> Paolo.
>
> ///////////////////////
next prev parent reply other threads:[~2015-04-30 21:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 17:21 Prathamesh Kulkarni
2015-04-30 18:01 ` Paolo Carlini
2015-04-30 19:08 ` Paolo Carlini
2015-04-30 20:44 ` Paolo Carlini
2015-04-30 21:15 ` Prathamesh Kulkarni [this message]
2015-05-01 17:25 ` Jason Merrill
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=CAAgBjMnHwst2fkZatbwmNsne8c-oUSsJrwimFEC27Esu3bezXA@mail.gmail.com \
--to=prathamesh.kulkarni@linaro.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=jason@redhat.com \
--cc=paolo.carlini@oracle.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).