This is the mail archive of the gdb-patches@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: C++11 (abridged version)


On 10/20/2016 08:56 PM, Eli Zaretskii wrote:
>> Cc: gdb-patches@sourceware.org
>> From: Pedro Alves <palves@redhat.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.
>>
>> WDYT?
> 
> Fine with me, thanks.
> 

FYI, I've now added this to the coding standards:

 https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards?action=diff&rev1=19&rev2=20

... along with mentioning the C++11 requirement.

Thanks,
Pedro Alves


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