This is the mail archive of the
mailing list for the GDB project.
Re: Go C++ only
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 01 Sep 2016 14:07:47 -0400
- Subject: Re: Go C++ only
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com>
On 2016-09-01 13:32, Pedro Alves wrote:
As last discussed, the general consensus was to make 7.12
the last gdb version that supports building with a C compiler.
I've been holding proposing to drop C-mode support in master
with the idea that that would help with all the bugfix
backporting going on. I've had to explain this several times
recently, as people are eager to use C++ features. Multiple
times this week, even.
At this point the backporting rate is quite low though, so
maybe it no longer makes that much sense to hold C++ back,
at least in new code.
What do people think? Time to march ahead?
Are there some guidelines about which C++ features we can use or not?
Perhaps some precisions about the coding style, for C++-specific
constructs (e.g. initializer lists). I suppose we'll end up copying
what GCC does for the most part, but it should be clear.