This is the mail archive of the
mailing list for the GDB project.
Re: C++11 (abridged version)
On 10/20/2016 08:56 PM, Eli Zaretskii wrote:
>> Cc: firstname.lastname@example.org
>> From: Pedro Alves <email@example.com>
>> Date: Thu, 20 Oct 2016 20:41:39 +0100
>> Here's a straw man proposal for the policy text:
>> When is GDB going to start requiring C++NN ?
>> Our general policy is to wait until the oldest compiler which
>> supports C++NN is at least 3 years old.
>> Rationale: We want to ensure reasonably widespread compiler availability,
>> to lower barrier of entry to GDB contributions, and to make it easy for users
>> to easily build new GDB on currently supported stable distributions themselves.
>> 3 years should be sufficient for latest stable releases of distributions to
>> include a compiler for the standard, and/or for new compilers to appear as
>> easily installable optional packages. Requiring everyone to build a compiler
>> first before building GDB, which would happen if we required a too-new compiler,
>> would cause too much inconvenience.
> Fine with me, thanks.
FYI, I've now added this to the coding standards:
... along with mentioning the C++11 requirement.