libc++ is outdated (3.7.x) and incompatible with actual clang 3.8.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



libc++ is outdated (3.7.1 flagged out-of-date on 2016-03-28) and
incompatible with actual clang 3.8

If you try to compile simple program which use std::string with clang and
libc++ you will get an error:

[root@707cd1f92063 /]# cat test.cpp
#include <string>

int main()
{
    std::string a;
}

[root@707cd1f92063 /]# clang++ -std=c++11 -stdlib=libc++ -lc++abi test.cpp
-o test && ./test
In file included from test.cpp:1:
/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT,
_Traits, _Allocator>' is missing exception specification
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
basic_string<_CharT, _Traits, _Allocator>::basic_string(const
allocator_type& __a)
                                           ^
/usr/bin/../include/c++/v1/string:1326:40: note: previous declaration is
here
    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
__a)


Is there any reason libc++ 3.8 is not in repo yet?
Could I help somehow?

Thank you,
Konstantin



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux