Re: Go C++ only

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 2016-09-01 13:32, Pedro Alves wrote:
> Hi all,
> 
> 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?
> 
> Thanks,
> Pedro Alves

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.

Thanks!

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.