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: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Fri, 27 Feb 2015 14:20:41 +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>
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.
--
Yao (éå)