[PATCH. libstdc++] Use the correct C++14 __cplusplus value (201402L). Added C++1z to the preprocessor.

Paolo Carlini paolo.carlini@oracle.com
Mon Sep 15 09:17:00 GMT 2014


Hi again,

On 08/26/2014 10:54 AM, Paolo Carlini wrote:
> Hi,
>
> On 08/26/2014 10:52 AM, Jonathan Wakely wrote:
>> That seems like a good idea, but I'm not convinced there's any benefit
>> in Ed's changes to do:
>>
>> -#if __cplusplus > 201103L
>> +#if __cplusplus >= 201402L
>>
>> It seems like unnecessary churn to me,
> about this, I had the same thought ;)
By the way, in case isn't already clear, it occurs to me that the kind 
of change proposed by Ed, thus standardize on __cplusplus >= "required 
version", will make more sense when the C++17 Standard will be closer. 
So far, since we can simply do everything with only 201103L, my idea too 
of adding _GLIBCXX_CXX11 & co seems quite pointless.

Paolo.



More information about the Libstdc++ mailing list