This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 0/6] Add -Wunused-but-set-parameter and -Wunused-but-set-variable
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Tom Tromey <tom at tromey dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 21 Jul 2016 12:56:52 +0100
- Subject: Re: [RFA 0/6] Add -Wunused-but-set-parameter and -Wunused-but-set-variable
- Authentication-results: sourceware.org; auth=none
- References: <1465248812-23902-1-git-send-email-tom@tromey.com> <CAH=s-POD0ONLxHsoMFooOibZ58TB_UjW85GXioaM5_koQ2FBCA@mail.gmail.com> <6a954e1a-ed72-fc02-b9b6-cce85e9b58e9@redhat.com> <CAH=s-PPCG=z90YnQWdtcvFPP+EcSPT0Epw6oxNgbO71Dx3mx7A@mail.gmail.com> <7797fc3a-9651-3448-2def-3bc5b0c5cf55@redhat.com>
On 07/21/2016 12:35 PM, Pedro Alves wrote:
> On 07/21/2016 12:10 PM, Yao Qi wrote:
>> On Thu, Jul 21, 2016 at 11:38 AM, Pedro Alves <palves@redhat.com> wrote:
>
>>>
>>> I'd think it'd be acceptable to just build on a couple of the
>>> more common hosts, in the name of forward progress.
>>>
>>
>> Yes, I agree.
>>
>
> I had a mingw-w64 build tree already handy, so I gave it a try. It
> needs a couple patches. I'll send them as reply to this email.
I tried a cross to macOS/OS X/darwin/whatever-it's-called-nowadays
now, with -Wunused-but-set-parameter -Wunused-but-set-variable + -O2,
and no new warnings appeared.
Thanks,
Pedro Alves