GDB now builds as a C++ program by default
Pedro Alves
palves@redhat.com
Tue May 24 11:53:00 GMT 2016
On 05/24/2016 12:43 PM, Bob Rossi wrote:
> 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?
>
I'd like to do that soon after the next release, around June/July,
making the next release the last one that supports building gdb
with a C compiler.
> 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?
If you mean with a "-std=" switch, I don't plan to.
> 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,
Pedro Alves
More information about the Gdb
mailing list