This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: C++ conversion status update
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Yao Qi <qiyaoltc at gmail dot com>, "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 18 Apr 2016 18:29:28 +0100
- Subject: Re: C++ conversion status update
- Authentication-results: sourceware.org; auth=none
- References: <565460FB dot 6070103 at redhat dot com> <86zixdnlfg dot fsf at gmail dot com> <566F13D4 dot 9000900 at redhat dot com> <570D91F6 dot 2020702 at redhat dot com> <20160413124127 dot GG31406 at adacore dot com> <570E51CB dot 6010304 at redhat dot com> <20160413141648 dot GI31406 at adacore dot com> <570E5A53 dot 8070306 at redhat dot com>
On 04/13/2016 03:40 PM, Pedro Alves wrote:
> On 04/13/2016 03:16 PM, Joel Brobecker wrote:
>> We could do that indeed; or, IIRC, there is a configure option
>> to force the use of C instead of C++.
>
> It's --enable-build-with-cxx=yes|no. That hunk above decides
> the default for when the --enable-build-with-cxx option is not
> specified.
>
> I don't mind requiring
>> the user to force it; it's a good reminder (and ties in nicely
>> with another comment below).
>
> Hmm. That's an excellent point. If others are OK with it, I'm in
> favor too.
I've posted a patch that does this now.
https://sourceware.org/ml/gdb-patches/2016-04/msg00417.html
Thanks,
Pedro Alves