[PATCH] C++1y is now C++14

Richard Smith richard at metafoo.co.uk
Wed Aug 20 19:40:18 PDT 2014


For the avoidance of doubt, the attached patch is the proposed change. It's
a minimal change that merely adds '-std=c++14' as an alias for '-std=c++1y'
and adds '-std=gnu++14' as an alias for '-std=gnu++1y'. I think it'd be a
significant missed opportunity for our first release after C++14 is
standardized to not have this flag (we've been C++14 feature complete since
January).

Tom: If we're going to have a 3.4.3 point release, I'd suggest applying
this patch there too.

On Wed, Aug 20, 2014 at 1:56 AM, Chandler Carruth <chandlerc at google.com>
wrote:

> Really?
>
> I would really like to see this. It's totally safe, and we actually had
> full C++14 support *well* before the branch.
>
>
> On Wed, Aug 20, 2014 at 12:46 AM, Bill Wendling <isanbard at gmail.com>
> wrote:
>
>>  I know that ’14 is out now, but that happened after the branching. I
>> don’t even know if we’re promising full c++14 support in this. Let’s just
>> wait until the next release.
>>
>> -bw
>>
>> On Aug 19, 2014, at 9:26 AM, Aaron Ballman <aaron at aaronballman.com>
>> wrote:
>>
>> > On Tue, Aug 19, 2014 at 12:24 PM, Richard Smith <richard at metafoo.co.uk>
>> wrote:
>> >> On 19 Aug 2014 08:55, "Aaron Ballman" <aaron at aaronballman.com> wrote:
>> >>>
>> >>> On Tue, Aug 19, 2014 at 11:47 AM, Richard Smith <
>> richard at metafoo.co.uk>
>> >>> wrote:
>> >>>> LGTM, thanks!
>> >>>>
>> >>>> It looks like you didn't add -std=gnu++14. Is there a reason for
>> that?
>> >>>> It
>> >>>> seems useful, even if GCC doesn't support it yet.
>> >>>
>> >>> I wasn't certain whether we wanted it. I will add it in.
>> >>>
>> >>>> Also, I spied a CXX1YCOMPAT macro in one of the tests you updated :)
>> >>>
>> >>> I will double-check that and fix before committing.
>> >>>
>> >>> Blind curiosity, is this something we want for the release? Or has
>> >>> that ship sailed?
>> >>
>> >> If Bill is amenable, adding just the -std=c++14 change directly to the
>> >> branch (and none of the other renaming) seems like a good idea to me.
>> >
>> > Bill, what are your thoughts on this idea?
>> >
>> > ~Aaron
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140820/6cc30afd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxx14.patch
Type: text/x-patch
Size: 1273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140820/6cc30afd/attachment.bin>


More information about the cfe-commits mailing list