This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB now builds as a C++ program by default
- From: Bob Rossi <bob at brasko dot net>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 24 May 2016 07:43:49 -0400
- Subject: Re: GDB now builds as a C++ program by default
- Authentication-results: sourceware.org; auth=none
- References: <571808F3 dot 8060505 at redhat dot com>
On Wed, Apr 20, 2016 at 11:55:47PM +0100, Pedro Alves wrote:
> I'm happy to report that GDB git master now defaults to building with
> a C++ compiler.
Do you have a time frame for when GDB will be required to use C++
to compile?
Looking at https://sourceware.org/gdb/wiki/cxx-conversion, I see
that you will require C++ 98 or 03. Will you enforce that when
compiling?
I ask because I work on CGDB, a GDB front end, and it's written in C so
that it can be compiled anywhere that GDB can. I'd like to transition
CGDB to C++ but only want to do so after GDB is and using the same C++
standard features.
Thanks,
Bob Rossi