This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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


With revision 214400 we have the C++14 value of __cplusplus set to the correct value of 201402L (from 201300L).
We should use this in the std lib headers.  This patch does this.

Also, we've set C++14 value of __cplusplus to 201500L so we can start adding post-C++14 library bits with
#if __cplusplus > 201402L
...
#endif

Built and tested clean on x86_64-linux.

OK?

Attachment: CL_cxx14
Description: Text document

Attachment: patch_cxx14
Description: Text document


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