This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go C++ only


On 2016-09-01 14:22, Pedro Alves wrote:
On 09/01/2016 07:07 PM, Simon Marchi wrote:

Are there some guidelines about which C++ features we can use or not?

I think the biggest guideline so far is that people still want to build
gdb on systems with compilers that predate C++11, so we're stuck with
C++03 for the moment.

Perhaps some precisions about the coding style, for C++-specific
constructs (e.g. initializer lists).

List initialization is C++11, so it's out, at least for now.

Oh, I meant the list of members to initialize in a constructor (the list after the colon), that's not C++11 I believe. I see it's all discussed in the gcc coding convention page.

And to complete my answer on the original subject, I think it's fine to wait until 7.12 is out before checking in anything that is C++-only. The wait has been long already, a few weeks won't change much :).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]