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]

SD-6 C++ feature-testing macros for 4.9


On 10/02/2014 11:42 AM, Jonathan Wakely wrote:
The library macros are safe and can't cause any issues, so I'm happy for them to go on the branch.

I can think of at least two that aren't implemented on the branch: <experimental/any> and the std::is_final trait (although I'd be OK with the trait going on the branch too).



----- Original Message -----
From: "Jason Merrill" <jason@redhat.com>
To: "Ed Smith-Rowland" <3dw4rd@verizon.net>, "Jonathan Wakely" <jwakely@redhat.com>
Cc: gcc-patches@gcc.gnu.org, "thiago macieira" <thiago.macieira@intel.com>
Sent: Thursday, 2 October, 2014 4:40:03 PM
Subject: Re: feature-testing macros for 4.9

On 10/02/2014 10:58 AM, Ed Smith-Rowland wrote:
We've had a request from someone that we include SD-6 feature testing
for gcc-4.9.
It seems rather heavy for a backport but it might make maintainers of
large C++ libraries happy ;-) and it might make sense as people migrate
from 4.9 to 5.0 to see what we've added.
I'm open to that.

Jason



OK,

This really does build clean and test clean on x86_64-linux.
It's basically the same as for 5.0 except experimental/any isn't in and variable templates aren't in.

I put std::is_final into 4.9 earlier - this patch adds the macro for that too.

I made this into a single grand unified patch this time. i didn't think splitting it lat time bought me much.

Ed

Attachment: CL_sd6_feature_test
Description: Text document

Attachment: patch_sd6_feature_test
Description: Text document


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