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

Jeffrey Yasskin jyasskin at google.com
Thu May 8 05:53:05 PDT 2014


It's probably worth removing that patch. libstdc++-4.4 is probably
much older than you should expect to use with C++11 nowadays.

On Thu, May 8, 2014 at 3:05 AM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> 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.html
>>> I'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
>>>
>>
>>
>



More information about the cfe-dev mailing list