This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 02/36] Add --enable-build-with-cxx configure switch
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 27 Feb 2015 16:29:47 +0000
- Subject: Re: [PATCH 02/36] Add --enable-build-with-cxx configure switch
- Authentication-results: sourceware.org; auth=none
- References: <1423524046-20605-1-git-send-email-palves at redhat dot com> <1423524046-20605-3-git-send-email-palves at redhat dot com> <54DA821E dot 4070608 at gmail dot com> <54F06FF9 dot 8010303 at redhat dot com> <86385rh1vq dot fsf at gmail dot com>
On 02/27/2015 02:20 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>> The -Werror idea here was just so that we could put C or C++-specific
>> warnings in build_warnings and have them automatically filtered out.
>>
>> I ended up explicitly splitting C vs C++ specific warnings now,
>> so this -Werror is gone.
>>
>> I also moved "-fpermissive" to $COMPILER instead, as really that's
>> a C++ mode, not a warning flag. We want to use it even if gdb is
>> configured with --enable-build-warning=no.
>>
>> Here's the new version. Let me know what you think.
>
> That is fine by me.
Great, I've pushed this one in.
Thanks,
Pedro Alves