[cfe-dev] C++11 builds with clang 3.2 and stdlibc++-4.4

Nikola Smiljanic popizdeh at gmail.com
Thu May 8 03:05:41 PDT 2014


Weird, I wasn't aware of this :) CC Jeffrey as he seems to be the author of
the original patch.

P.S. You down under, mate?


On Thu, May 8, 2014 at 6:42 PM, Daniel Heckenberg <danielh at al.com.au> wrote:

>
> Except that the patch is explicitly maintained as part of clang, right?
> http://llvm.org/svn/llvm-project/cfe/trunk/www/libstdc++4.4-clang0x.patch
>
> Cheers,
> Daniel
>
>
> On 08/05/14 13:09, Nikola Smiljanic wrote:
>
> You should submit the patch to stdlibc++ project ;)
>
>
> On Thu, May 8, 2014 at 12:38 PM, Daniel Heckenberg <danielh at al.com.au>wrote:
>
>>
>> Hello,
>>
>> Following the information here: http://clang.llvm.org/cxx_status.htmlI've been attempting to use clang 3.2 in C++11 mode with stdlibc++-4.4.  It
>> seems that the patch linked on that page is incomplete, as I soon
>> encountered problems with pair, shared_ptr and tuple.
>>
>> I've attempted to extend the patch to fix those problems (see attached
>> diff).  Most were trivial changes due to C++0x to C++11 default ctor/op
>> rule differences, but to fix the tuple problem I've essentially back-ported
>> the header contents from stdlibc++-4.5.4.
>>
>> I'd be interested in feedback and/or to contribute this new patch.
>>
>> Many thanks,
>> Daniel
>>
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140508/ff650184/attachment.html>


More information about the cfe-dev mailing list